Browse Source

实验终止删除数据集和模型版本

dev-czh
chenzhihang 1 year ago
parent
commit
28c2fa5793
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ExperimentInsServiceImpl.java

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

@@ -424,7 +424,8 @@ public class ExperimentInsServiceImpl implements ExperimentInsService {
LoginUser loginUser = SecurityUtils.getLoginUser(); LoginUser loginUser = SecurityUtils.getLoginUser();
String ci4sUsername = loginUser.getUsername(); String ci4sUsername = loginUser.getUsername();


Map<String, Object> spec = (Map<String, Object>) runResMap.get("spec");
Map<String, Object> data = (Map<String, Object>) runResMap.get("data");
Map<String, Object> spec = (Map<String, Object>) data.get("spec");
if (spec != null) { if (spec != null) {
List<Map<String, Object>> templates = (ArrayList<Map<String, Object>>) spec.get("templates"); List<Map<String, Object>> templates = (ArrayList<Map<String, Object>>) spec.get("templates");
for (Map<String, Object> template : templates) { for (Map<String, Object> template : templates) {


Loading…
Cancel
Save