Subtask component treemap problem fix. (#9755)
Co-authored-by: WangJPLeo <wangjipeng@whaleops.com>
This commit is contained in:
parent
de50f43de6
commit
ea002452b0
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue