|
|
|
|
@ -38,6 +38,9 @@ public class ProcessEndListener implements ExecutionListener { |
|
|
|
|
switch (event) { |
|
|
|
|
case "start": |
|
|
|
|
System.out.println("ProcessEndListener-start event-------------------"); |
|
|
|
|
//中止或撤销的工作流不做任何处理了
|
|
|
|
|
if(variablesMap.containsKey("wf_process_terminate")) return; |
|
|
|
|
|
|
|
|
|
IAutoStartModelService autoStartModelService = (IAutoStartModelService) SpringContextHolder.getBean(AutoStartModelServiceImpl.class); |
|
|
|
|
//判断工作流的的重复模式1
|
|
|
|
|
if (Func.isNotEmpty(variablesMap.get("chongfumoshi")) && !StringUtils.equals(RepeatEnum.不重复.getCode(), variablesMap.get("chongfumoshi").toString())) { |
|
|
|
|
|