Browse Source

优化实验状态查询

pull/268/head
chenzhihang 8 months ago
parent
commit
cdceefcb24
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ExperimentInsServiceImpl.java

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

@@ -205,6 +205,7 @@ public class ExperimentInsServiceImpl implements ExperimentInsService {
LoginUser loginUser = SecurityUtils.getLoginUser();
experimentIns.setUpdateBy(loginUser.getUsername());
experimentIns.setUpdateTime(new Date());
experimentIns = queryStatusFromArgo(experimentIns);
this.experimentInsDao.update(experimentIns);
updateExperimentStatus(experimentIns.getExperimentId());
return experimentIns;


Loading…
Cancel
Save