排查日志

This commit is contained in:
wangliwen 2022-04-26 17:16:13 +08:00
parent ca018b7855
commit e0c38aca8e
1 changed files with 2 additions and 0 deletions

View File

@ -147,6 +147,7 @@ public class DemandDataListener implements TaskListener, ExecutionListener, Acti
} }
private void complete(DelegateTask delegateTask) { private void complete(DelegateTask delegateTask) {
logger.info("---------------------------流程节点完成---------------------------------");
Map<String, Object> kv = delegateTask.getVariables(); Map<String, Object> kv = delegateTask.getVariables();
GsonBuilder builder = new GsonBuilder(); GsonBuilder builder = new GsonBuilder();
builder.registerTypeAdapter(Date.class, new JsonDeserializer<Date>() { builder.registerTypeAdapter(Date.class, new JsonDeserializer<Date>() {
@ -162,6 +163,7 @@ public class DemandDataListener implements TaskListener, ExecutionListener, Acti
if (demandDataDTO != null) { if (demandDataDTO != null) {
logger.info(JSONObject.toJSONString(demandDataDTO)); logger.info(JSONObject.toJSONString(demandDataDTO));
tDemandDataService.updateFlag(3, demandDataDTO.getId());// 更新状态为已审批通过 tDemandDataService.updateFlag(3, demandDataDTO.getId());// 更新状态为已审批通过
logger.info("---------------------------更新状态为已审批通过---------------------------------");
} }
} }
} }