Browse Source

优化实验状态查询

pull/268/head
chenzhihang 10 months ago
parent
commit
eb50e76a54
3 changed files with 3 additions and 0 deletions
  1. +1
    -0
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ActiveLearnInsServiceImpl.java
  2. +1
    -0
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/MachineLearnInsServiceImpl.java
  3. +1
    -0
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/RayInsServiceImpl.java

+ 1
- 0
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ActiveLearnInsServiceImpl.java View File

@@ -65,6 +65,7 @@ public class ActiveLearnInsServiceImpl implements ActiveLearnInsService {
@Override @Override
public ActiveLearnIns update(ActiveLearnIns activeLearnIns) { public ActiveLearnIns update(ActiveLearnIns activeLearnIns) {
activeLearnIns.setUpdateTime(new Date()); activeLearnIns.setUpdateTime(new Date());
activeLearnIns = queryStatusFromArgo(activeLearnIns);
activeLearnInsDao.update(activeLearnIns); activeLearnInsDao.update(activeLearnIns);
updateActiveLearnStatus(activeLearnIns.getActiveLearnId()); updateActiveLearnStatus(activeLearnIns.getActiveLearnId());
return activeLearnIns; return activeLearnIns;


+ 1
- 0
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/MachineLearnInsServiceImpl.java View File

@@ -61,6 +61,7 @@ public class MachineLearnInsServiceImpl implements MachineLearnInsService {
@Override @Override
public MachineLearnIns update(MachineLearnIns machineLearnIns) { public MachineLearnIns update(MachineLearnIns machineLearnIns) {
machineLearnIns.setUpdateTime(new Date()); machineLearnIns.setUpdateTime(new Date());
machineLearnIns = queryStatusFromArgo(machineLearnIns);
machineLearnInsDao.update(machineLearnIns); machineLearnInsDao.update(machineLearnIns);
updateMLStatus(machineLearnIns.getMachineLearnId()); updateMLStatus(machineLearnIns.getMachineLearnId());
return machineLearnIns; return machineLearnIns;


+ 1
- 0
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/RayInsServiceImpl.java View File

@@ -73,6 +73,7 @@ public class RayInsServiceImpl implements RayInsService {
@Override @Override
public RayIns update(RayIns rayIns) { public RayIns update(RayIns rayIns) {
rayIns.setUpdateTime(new Date()); rayIns.setUpdateTime(new Date());
rayIns = queryStatusFromArgo(rayIns);
rayInsDao.update(rayIns); rayInsDao.update(rayIns);
updateRayStatus(rayIns.getRayId()); updateRayStatus(rayIns.getRayId());
return rayIns; return rayIns;


Loading…
Cancel
Save