2023-06-03-02-bug

master
喻忠伟 1 year ago
parent ce10fd8313
commit 23cf772c66
  1. 5
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/hangerlocation/service/impl/HangerLocationServiceImpl.java

@ -203,6 +203,9 @@ public class HangerLocationServiceImpl extends ServiceImpl<HangerLocationMapper,
sensorRecordMapper.insert(srmodel); sensorRecordMapper.insert(srmodel);
arrSR.add(srmodel); arrSR.add(srmodel);
} }
process.setStatus(2);
zyPlanProcessMapper.updateById(process);
//查找出 //查找出
List<Sensor> senOut = sensorList.stream() List<Sensor> senOut = sensorList.stream()
.filter(Sensor -> Sensor.getStationId().equals(process.getStationId())) .filter(Sensor -> Sensor.getStationId().equals(process.getStationId()))
@ -226,6 +229,8 @@ public class HangerLocationServiceImpl extends ServiceImpl<HangerLocationMapper,
sensorRecordMapper.insert(srmodel); sensorRecordMapper.insert(srmodel);
arrSR.add(srmodel); arrSR.add(srmodel);
} }
process.setStatus(3);
zyPlanProcessMapper.updateById(process);
//#endregion //#endregion
//#region吊挂运行记录 //#region吊挂运行记录

Loading…
Cancel
Save