Browse Source

argo查询状态接口增加逻辑,处理节点状态

tags/v20240126
西大锐 2 years ago
parent
commit
5fbcf880ed
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ExperimentInsServiceImpl.java
  2. +1
    -0
      ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/ExperimentDaoMapper.xml

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

@@ -267,7 +267,7 @@ public class ExperimentInsServiceImpl implements ExperimentInsService {

for (Map.Entry<String, Object> nodeEntry : nodes.entrySet()) {
Map<String,Object> nodeDetails = (Map<String, Object>) nodeEntry.getValue();
String templateName = (String) nodeDetails.get("templateName");
String templateName = (String) nodeDetails.get("displayName");
modifiedNodes.put(templateName, nodeDetails);
}



+ 1
- 0
ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/ExperimentDaoMapper.xml View File

@@ -22,6 +22,7 @@
from experiment
where id = #{id} and state = 1
</select>

<!--根据experiment查询-->
<select id="queryByExperiment" resultMap="ExperimentMap">
select


Loading…
Cancel
Save