mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-25 08:25:07 +08:00
[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