Pre Merge pull request !39 from tianning/master

pull/39/MERGE
tianning 2023-07-25 23:29:40 +00:00 committed by Gitee
commit b0ce826b5a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 0 deletions

View File

@ -185,6 +185,7 @@ public class BpmModelServiceImpl implements BpmModelService {
// 2.3 更新 model 的 deploymentId进行关联
ProcessDefinition definition = processDefinitionService.getProcessDefinition(definitionId);
model.setDeploymentId(definition.getDeploymentId());
model.setVersion(definition.getVersion());
repositoryService.saveModel(model);
// 2.4 复制任务分配规则