|
|
|
@@ -468,7 +468,7 @@ public class ExperimentInsServiceImpl implements ExperimentInsService { |
|
|
|
//删除导出模型版本 |
|
|
|
if (key.contains("model-export")) { |
|
|
|
Map<String, Object> modelExportMap = (Map<String, Object>) nodesStatusMap.get(key); |
|
|
|
if (modelExportMap != null && Constant.Running.equals(modelExportMap.get("phase")) || Constant.Succeeded.equals(modelExportMap.get("phase"))) { |
|
|
|
if (modelExportMap != null && (Constant.Running.equals(modelExportMap.get("phase")) || Constant.Succeeded.equals(modelExportMap.get("phase")))) { |
|
|
|
HashMap queryMap = new HashMap<String, Integer>(); |
|
|
|
queryMap.put("insId", experimentIns.getId()); |
|
|
|
ModelDependency1 modelDependency1 = modelDependency1Dao.queryByInsId(JSON.toJSONString(queryMap)); |
|
|
|
@@ -485,7 +485,7 @@ public class ExperimentInsServiceImpl implements ExperimentInsService { |
|
|
|
//删除导出数据集版本 |
|
|
|
if (key.contains("dataset-export")) { |
|
|
|
Map<String, Object> datasetExportMap = (Map<String, Object>) nodesStatusMap.get(key); |
|
|
|
if (datasetExportMap != null && Constant.Running.equals(datasetExportMap.get("phase")) || Constant.Succeeded.equals(datasetExportMap.get("phase"))) { |
|
|
|
if (datasetExportMap != null && (Constant.Running.equals(datasetExportMap.get("phase")) || Constant.Succeeded.equals(datasetExportMap.get("phase")))) { |
|
|
|
HashMap queryMap = new HashMap<String, Integer>(); |
|
|
|
queryMap.put("ins_id", experimentIns.getId()); |
|
|
|
DatasetTempStorage datasetTempStorage = datasetTempStorageDao.queryByInsId(JSON.toJSONString(queryMap)); |
|
|
|
|