瀏覽代碼

BUG修复 修改停泊点策略时不显示BUG

qinguocai 1 年之前
父節點
當前提交
687bdde0d0
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BerthingServiceImpl.java

+ 2 - 0
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BerthingServiceImpl.java

@@ -260,6 +260,8 @@ public class BerthingServiceImpl implements BerthingService {
                 berthingPointConfig.setIsDel(1);
                 berthingPointConfigMapper.update(berthingPointConfig);
                 berthingPointConfig.setStopId(0L);
+                berthingPointConfig.setIsDel(0);
+                berthingPoint.setCreateTime(new Date());
                 berthingPointConfig.setPositions(JSONUtil.toJsonStr(positions));
                 berthingPointConfig.setWlevel(berthingPointConfigDTO.getWlevel());
                 berthingPointConfig.setFactors(JSONUtil.toJsonStr(berthingPointConfigDTO.getFactors()));