流程模型删除错误问题
无流程模型查询报错问题
This commit is contained in:
cks
2022-04-06 11:40:45 +08:00
parent d60be0bb53
commit 00d9645673
2 changed files with 6 additions and 1 deletions

View File

@ -215,6 +215,9 @@ public class BpmModelServiceImpl implements BpmModelService {
if (oldDefinition == null) {
return;
}
if(oldDefinition.isSuspended()){
return;
}
processDefinitionService.updateProcessDefinitionState(oldDefinition.getId(), SuspensionState.SUSPENDED.getStateCode());
}