|
|
@ -2302,11 +2302,14 @@ public class ProcessService { |
|
|
|
processTaskRelationLog.setProcessDefinitionCode(processDefinitionCode); |
|
|
|
processTaskRelationLog.setProcessDefinitionCode(processDefinitionCode); |
|
|
|
processTaskRelationLog.setProcessDefinitionVersion(processDefinitionVersion); |
|
|
|
processTaskRelationLog.setProcessDefinitionVersion(processDefinitionVersion); |
|
|
|
if (taskDefinitionLogMap != null) { |
|
|
|
if (taskDefinitionLogMap != null) { |
|
|
|
TaskDefinitionLog taskDefinitionLog = taskDefinitionLogMap.get(processTaskRelationLog.getPreTaskCode()); |
|
|
|
TaskDefinitionLog preTaskDefinitionLog = taskDefinitionLogMap.get(processTaskRelationLog.getPreTaskCode()); |
|
|
|
if (taskDefinitionLog != null) { |
|
|
|
if (preTaskDefinitionLog != null) { |
|
|
|
processTaskRelationLog.setPreTaskVersion(taskDefinitionLog.getVersion()); |
|
|
|
processTaskRelationLog.setPreTaskVersion(preTaskDefinitionLog.getVersion()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
TaskDefinitionLog postTaskDefinitionLog = taskDefinitionLogMap.get(processTaskRelationLog.getPostTaskCode()); |
|
|
|
|
|
|
|
if (postTaskDefinitionLog != null) { |
|
|
|
|
|
|
|
processTaskRelationLog.setPostTaskVersion(postTaskDefinitionLog.getVersion()); |
|
|
|
} |
|
|
|
} |
|
|
|
processTaskRelationLog.setPostTaskVersion(taskDefinitionLogMap.get(processTaskRelationLog.getPostTaskCode()).getVersion()); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
processTaskRelationLog.setCreateTime(now); |
|
|
|
processTaskRelationLog.setCreateTime(now); |
|
|
|
processTaskRelationLog.setUpdateTime(now); |
|
|
|
processTaskRelationLog.setUpdateTime(now); |
|
|
|