环保巡检任务类型

master
张乾翔 1 week ago
parent 208359b775
commit f138ee1491
  1. 2
      blade-service/blade-desk/src/main/java/org/springblade/desk/energy/service/impl/BsEpciuPatrolInspectionServiceImpl.java

@ -131,6 +131,7 @@ public class BsEpciuPatrolInspectionServiceImpl extends BaseServiceImpl<BsEpciuP
epPatrolInspection.setInsSite(epInspectionPoint.getInsSite()); epPatrolInspection.setInsSite(epInspectionPoint.getInsSite());
epPatrolInspection.setInsMemo(epPatrolInspection.getInsMemo()); epPatrolInspection.setInsMemo(epPatrolInspection.getInsMemo());
epPatrolInspection.setLaunchTime(new Date()); epPatrolInspection.setLaunchTime(new Date());
epPatrolInspection.setInsType(epInspectionPoint.getInsType());
epPatrolInspection.setTaskStatus(BsEpciuPatrolInspectionEntity.PREPARE_TEXT.toString()); epPatrolInspection.setTaskStatus(BsEpciuPatrolInspectionEntity.PREPARE_TEXT.toString());
baseMapper.insertOrUpdate(epPatrolInspection); baseMapper.insertOrUpdate(epPatrolInspection);
// 保存触发任务的时间 // 保存触发任务的时间
@ -171,6 +172,7 @@ public class BsEpciuPatrolInspectionServiceImpl extends BaseServiceImpl<BsEpciuP
epPatrolInspection.setInsSite(epInspectionPoint.getInsSite()); epPatrolInspection.setInsSite(epInspectionPoint.getInsSite());
epPatrolInspection.setInsMemo(epPatrolInspection.getInsMemo()); epPatrolInspection.setInsMemo(epPatrolInspection.getInsMemo());
epPatrolInspection.setLaunchTime(new Date()); epPatrolInspection.setLaunchTime(new Date());
epPatrolInspection.setInsType(epInspectionPoint.getInsType());
epPatrolInspection.setTaskStatus(BsEpciuPatrolInspectionEntity.PREPARE_TEXT.toString()); epPatrolInspection.setTaskStatus(BsEpciuPatrolInspectionEntity.PREPARE_TEXT.toString());
baseMapper.insertOrUpdate(epPatrolInspection); baseMapper.insertOrUpdate(epPatrolInspection);
// 保存触发任务的时间 // 保存触发任务的时间

Loading…
Cancel
Save