From 9c39989591f5881c28cea65605e5cca123b97e13 Mon Sep 17 00:00:00 2001 From: wangliwen Date: Fri, 22 Apr 2022 14:31:31 +0800 Subject: [PATCH] ... --- .../processForm/listener/CorrectionListener.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/renren-admin/src/main/java/io/renren/modules/processForm/listener/CorrectionListener.java b/renren-admin/src/main/java/io/renren/modules/processForm/listener/CorrectionListener.java index ac61e62c..7ad4c6f9 100644 --- a/renren-admin/src/main/java/io/renren/modules/processForm/listener/CorrectionListener.java +++ b/renren-admin/src/main/java/io/renren/modules/processForm/listener/CorrectionListener.java @@ -48,27 +48,27 @@ public class CorrectionListener implements TaskListener, ExecutionListener, Acti @Override public void notify(DelegateTask delegateTask) { - logger.info("-------------------------进入部门动态审批人流程-------------------------------"); + logger.error("-------------------------进入部门动态审批人流程-------------------------------"); Map kv = delegateTask.getVariables(); Gson gson = new Gson(); JsonElement jsonElement = gson.toJsonTree(kv); TAbilityApplicationDTO abilityApplicationDTO = gson.fromJson(jsonElement, TAbilityApplicationDTO.class); SysRoleDTO roleDTO = sysRoleService.getByName(roleName); - logger.info("roleDTOId:" + roleDTO.getId()); + logger.error("roleDTOId:" + roleDTO.getId()); ResourceDTO resourceEntityDto = null; Long deptId = null; if (abilityApplicationDTO != null) { - logger.info("abilityApplicationDTO:" + abilityApplicationDTO.toString()); + logger.error("abilityApplicationDTO:" + abilityApplicationDTO.toString()); resourceEntityDto = resourceService.get(Long.valueOf(abilityApplicationDTO.getResourceId())); } if (resourceEntityDto != null && resourceEntityDto.getDeptId() != null) { deptId = resourceEntityDto.getDeptId(); } else { - logger.info("表单内单位名称:" + abilityApplicationDTO.getUnit()); + logger.error("表单内单位名称:" + abilityApplicationDTO.getUnit()); SysDeptDTO deptDTO = sysDeptService.getByName(abilityApplicationDTO.getUnit()); if (deptDTO != null) { - logger.info("deptDTOId:" + deptDTO.getId()); + logger.error("deptDTOId:" + deptDTO.getId()); deptId = deptDTO.getId(); } @@ -78,13 +78,13 @@ public class CorrectionListener implements TaskListener, ExecutionListener, Acti userDTO = sysUserService.getByDeptIdAndRoleId(deptId, roleDTO.getId()); // 搜出审批人 } if (userDTO != null) { - logger.info("审批人id:" + userDTO.getId()); + logger.error("审批人id:" + userDTO.getId()); taskService.setAssignee(delegateTask.getId(), userDTO.getId().toString()); } else { - logger.info("未查到该部门对应的 " + roleName); + logger.error("未查到该部门对应的 " + roleName); taskService.setAssignee(delegateTask.getId(), "1513432847327199233"); } - logger.info("-------------------------结束部门动态审批人流程-------------------------------"); + logger.error("-------------------------结束部门动态审批人流程-------------------------------"); } @Override