소스 검색

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()));