xuhy
6 天以前 f2057bd69558d42de70a4b8a169a2b86e49b9b19
ManagementOKTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/specialTrain/TLineController.java
@@ -13,6 +13,7 @@
import com.stylefeng.guns.modular.system.service.*;
import com.stylefeng.guns.modular.system.util.ResultUtil;
import org.springframework.stereotype.Controller;
import org.springframework.util.CollectionUtils;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.ui.Model;
@@ -196,7 +197,9 @@
            stopover.setType(3);
            stopoverList.add(stopover);
        }
        if(!CollectionUtils.isEmpty(stopoverList)){
        itLineSiteService.insertBatch(stopoverList);
        }
        //添加价格设置
        addPrice(tLine.getId(), subArr);
@@ -397,7 +400,9 @@
            stopover.setType(3);
            stopoverList.add(stopover);
        }
        if(!CollectionUtils.isEmpty(stopoverList)){
        itLineSiteService.insertBatch(stopoverList);
        }
        //删除线路价格
        itLinePriceService.delete(new EntityWrapper<TLinePrice>().eq("lineId",tLine.getId()));