This is an automated email from the ASF dual-hosted git repository.

caishunfeng pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new ea002452b0 Subtask component treemap problem fix. (#9755)
ea002452b0 is described below

commit ea002452b0a5b95f17354482f5375eab0930fa66
Author: WangJPLeo <[email protected]>
AuthorDate: Mon Apr 25 17:07:15 2022 +0800

    Subtask component treemap problem fix. (#9755)
    
    Co-authored-by: WangJPLeo <[email protected]>
---
 .../dolphinscheduler/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 1127d63d8a..955af7c3ad 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
@@ -1555,7 +1555,7 @@ public class ProcessDefinitionServiceImpl extends 
BaseServiceImpl implements Pro
                         // if process is sub process, the return sub id, or 
sub id=0
                         if (taskInstance.isSubProcess()) {
                             TaskDefinition taskDefinition = 
taskDefinitionMap.get(taskInstance.getTaskCode());
-                            subProcessCode = 
Integer.parseInt(JSONUtils.parseObject(
+                            subProcessCode = 
Long.parseLong(JSONUtils.parseObject(
                                     
taskDefinition.getTaskParams()).path(CMD_PARAM_SUB_PROCESS_DEFINE_CODE).asText());
                         }
                         treeViewDto.getInstances().add(new 
Instance(taskInstance.getId(), taskInstance.getName(), 
taskInstance.getTaskCode(),

Reply via email to