update(REQ-2324) - 完善日志打印

This commit is contained in:
wangli 2024-05-21 11:22:40 +08:00
parent 539d7f88c5
commit 2e3c299c70
2 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,7 @@ public class EngineAsyncJobEventListener extends AbstractFlowableEngineEventList
}); });
} }
stopWatch.stop(); stopWatch.stop();
log.info("StopWatch '" + stopWatch.getLastTaskName() + "': running time = " + stopWatch.getTotalTimeSeconds());
} }
private List<BpmnAsyncJobEventListener> getOrderedListeners() { private List<BpmnAsyncJobEventListener> getOrderedListeners() {

View File

@ -59,6 +59,7 @@ public class ApproveErrorReporterEventListener implements BpmnAsyncJobEventListe
String handlerType = jobInfo.getJobHandlerType(); String handlerType = jobInfo.getJobHandlerType();
//只处理审批类型任务 //只处理审批类型任务
if (!AsyncApproveTaskJobHandler.TYPE.equals(handlerType)) { if (!AsyncApproveTaskJobHandler.TYPE.equals(handlerType)) {
log.warn("非审批类型任务,handlerType:{}", handlerType);
return; return;
} }
if (StringUtils.isBlank(jobInfo.getCustomValues())) { if (StringUtils.isBlank(jobInfo.getCustomValues())) {