[fix]
流程模型删除错误问题 无流程模型查询报错问题
This commit is contained in:
@@ -215,6 +215,9 @@ public class BpmModelServiceImpl implements BpmModelService {
|
||||
if (oldDefinition == null) {
|
||||
return;
|
||||
}
|
||||
if(oldDefinition.isSuspended()){
|
||||
return;
|
||||
}
|
||||
processDefinitionService.updateProcessDefinitionState(oldDefinition.getId(), SuspensionState.SUSPENDED.getStateCode());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user