fix:发布流程-流程模型表版本号更新为最新的流程定义版本号
parent
85c483ca9a
commit
f066e41777
|
|
@ -185,6 +185,7 @@ public class BpmModelServiceImpl implements BpmModelService {
|
||||||
// 2.3 更新 model 的 deploymentId,进行关联
|
// 2.3 更新 model 的 deploymentId,进行关联
|
||||||
ProcessDefinition definition = processDefinitionService.getProcessDefinition(definitionId);
|
ProcessDefinition definition = processDefinitionService.getProcessDefinition(definitionId);
|
||||||
model.setDeploymentId(definition.getDeploymentId());
|
model.setDeploymentId(definition.getDeploymentId());
|
||||||
|
model.setVersion(definition.getVersion());
|
||||||
repositoryService.saveModel(model);
|
repositoryService.saveModel(model);
|
||||||
|
|
||||||
// 2.4 复制任务分配规则
|
// 2.4 复制任务分配规则
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue