Browse Source

实验终止删除数据集版本

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

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

@@ -454,7 +454,7 @@ public class ExperimentInsServiceImpl implements ExperimentInsService {
//删除导出数据集版本 todo //删除导出数据集版本 todo
if (key.contains("dataset-export")) { if (key.contains("dataset-export")) {
HashMap queryMap = new HashMap<String, Integer>(); HashMap queryMap = new HashMap<String, Integer>();
queryMap.put("insId", experimentIns.getId());
queryMap.put("ins_id", experimentIns.getId());
DatasetTempStorage datasetTempStorage = datasetTempStorageDao.queryByInsId(JSON.toJSONString(queryMap)); DatasetTempStorage datasetTempStorage = datasetTempStorageDao.queryByInsId(JSON.toJSONString(queryMap));
Map<String, Object> source = JsonUtils.jsonToMap(datasetTempStorage.getSource()); Map<String, Object> source = JsonUtils.jsonToMap(datasetTempStorage.getSource());
String relativePath = ci4sUsername + "/datasets/" + source.get("repo_id") + "/" + source.get("identifier") + "/" + source.get("version") + "/dataset"; String relativePath = ci4sUsername + "/datasets/" + source.get("repo_id") + "/" + source.get("identifier") + "/" + source.get("version") + "/dataset";


Loading…
Cancel
Save