|
|
@@ -286,6 +286,9 @@ public class TodoCenterManage { |
|
|
|
ProjectListReq projectListReq = new ProjectListReq(); |
|
|
|
BeanUtils.copyProperties(param, projectListReq); |
|
|
|
List<Project> projects = projectLibManage.projectList(projectListReq); |
|
|
|
if(StringUtils.isBlank(employeeCode)){ |
|
|
|
projects = Collections.emptyList(); |
|
|
|
} |
|
|
|
if (CollUtil.isNotEmpty(projects)) { |
|
|
|
Map<Long, Project> projectsMap = CollUtils.listToMap(projects, Project::getId); |
|
|
|
// 再查出项目关联的流程实例ID |
|
|
@@ -1725,8 +1728,12 @@ public class TodoCenterManage { |
|
|
|
// 获取登录用户全量信息 |
|
|
|
UserFullInfoDTO userFullInfo = userInfoHelper.getUserFullInfo(userId); |
|
|
|
// 获取员工浙政钉code |
|
|
|
String employeeCode = userFullInfo.getEmployeeCode(); |
|
|
|
TodoNumVO todoNumVo = new TodoNumVO(); |
|
|
|
String employeeCode = userFullInfo.getEmployeeCode(); |
|
|
|
if (StringUtils.isBlank(employeeCode)) { |
|
|
|
return todoNumVo; |
|
|
|
} |
|
|
|
|
|
|
|
// 查出项目库项目 |
|
|
|
ProjectListReq projectListReq = new ProjectListReq(); |
|
|
|
BeanUtils.copyProperties(param, projectListReq); |
|
|
|