npe
This commit is contained in:
parent
21e45f919b
commit
4fb3b092cf
|
@ -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);
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
# 大数据部门相关配置
|
||||
big_date:
|
||||
name: 青岛市大数据发展管理局
|
||||
assignee_role_name: 部门审批人
|
||||
# Tomcat
|
||||
server:
|
||||
tomcat:
|
||||
|
|
Loading…
Reference in New Issue