This commit is contained in:
wangliwen 2022-09-01 13:47:55 +08:00
parent 28f4558fa6
commit 82a96dba99
1 changed files with 2 additions and 1 deletions

View File

@ -95,6 +95,7 @@ public class ActivitiNoticeAspect {
task_complete_notice(delegateTask, activitiNoticeOperation); task_complete_notice(delegateTask, activitiNoticeOperation);
break; break;
default: default:
break;
} }
}); });
} // 任务监听器类型 } // 任务监听器类型
@ -323,7 +324,7 @@ public class ActivitiNoticeAspect {
private void assignment_notice(final DelegateTask delegateTask, final ActivitiNoticeOperation activitiNoticeOperation) { private void assignment_notice(final DelegateTask delegateTask, final ActivitiNoticeOperation activitiNoticeOperation) {
Map<String, Object> kv = delegateTask.getVariables(); Map<String, Object> kv = delegateTask.getVariables();
LOGGER.error("表单:{}", JSON.toJSONString(kv)); LOGGER.error("表单:{}", JSON.toJSONString(kv));
if(delegateTask.getId().equals(kv.get("autoApply"))){ if (delegateTask.getId().equals(kv.get("autoApply"))) {
LOGGER.error("------------自动审批通过,不通知------------"); LOGGER.error("------------自动审批通过,不通知------------");
return; return;
} }