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
public ActiveLearnIns update(ActiveLearnIns activeLearnIns) {
activeLearnIns.setUpdateTime(new Date());
activeLearnIns = queryStatusFromArgo(activeLearnIns);
activeLearnInsDao.update(activeLearnIns);
updateActiveLearnStatus(activeLearnIns.getActiveLearnId());
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
public MachineLearnIns update(MachineLearnIns machineLearnIns) {
machineLearnIns.setUpdateTime(new Date());
machineLearnIns = queryStatusFromArgo(machineLearnIns);
machineLearnInsDao.update(machineLearnIns);
updateMLStatus(machineLearnIns.getMachineLearnId());
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
public RayIns update(RayIns rayIns) {
rayIns.setUpdateTime(new Date());
rayIns = queryStatusFromArgo(rayIns);
rayInsDao.update(rayIns);
updateRayStatus(rayIns.getRayId());
return rayIns;


Loading…
Cancel
Save