diff --git a/renren-admin/src/main/java/io/renren/modules/processForm/listener/DataCenterListener.java b/renren-admin/src/main/java/io/renren/modules/processForm/listener/DataCenterListener.java index 354c11b5..dce3431a 100644 --- a/renren-admin/src/main/java/io/renren/modules/processForm/listener/DataCenterListener.java +++ b/renren-admin/src/main/java/io/renren/modules/processForm/listener/DataCenterListener.java @@ -25,9 +25,9 @@ public class DataCenterListener implements TaskListener, ExecutionListener, Acti private static Logger logger = LoggerFactory.getLogger(DataCenterListener.class); @Value("${big_date.name}") - private static String bigDateDeptName; + private String bigDateDeptName; @Value("${big_date.assignee_role_name}") - private static String roleName; + private String roleName; @Autowired private SysRoleService sysRoleService; @@ -52,6 +52,7 @@ public class DataCenterListener implements TaskListener, ExecutionListener, Acti @Override public void notify(DelegateTask delegateTask) { + logger.info("大数据局名称:" + bigDateDeptName); SysDeptDTO deptDTO = sysDeptService.getByName(bigDateDeptName); logger.info("deptDTOId:" + deptDTO.getId()); SysRoleDTO roleDTO = sysRoleService.getByName(roleName); diff --git a/renren-admin/src/main/resources/application.yml b/renren-admin/src/main/resources/application.yml index 7f120d30..ad3d6fba 100644 --- a/renren-admin/src/main/resources/application.yml +++ b/renren-admin/src/main/resources/application.yml @@ -1,3 +1,7 @@ +# 大数据部门相关配置 +big_date: + name: 青岛市大数据发展管理局 + assignee_role_name: 部门审批人 # Tomcat server: tomcat: