From 7e61a3af3109fa1ae497e231b488212566d8d84c Mon Sep 17 00:00:00 2001 From: xiangzihao <460888207@qq.com> Date: Wed, 5 Jan 2022 09:25:10 +0800 Subject: [PATCH] fix bug_7789 (#7790) Co-authored-by: SbloodyS --- .../api/service/impl/ProcessDefinitionServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java index ffaac26929..2dc021e33f 100644 --- a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java +++ b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java @@ -381,7 +381,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro processDefinitionNode.put("id", processDefinition.getId()); processDefinitionNode.put("code", processDefinition.getCode()); processDefinitionNode.put("name", processDefinition.getName()); - processDefinitionNode.put("projectCode", processDefinition.getCode()); + processDefinitionNode.put("projectCode", processDefinition.getProjectCode()); arrayNode.add(processDefinitionNode); } result.put(Constants.DATA_LIST, arrayNode);