Browse Source

修复工作台代办项目列表查询用户ID获取空指针异常

master
WendyYang 1 year ago
parent
commit
c877c3c5f3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java View File

@@ -148,7 +148,7 @@ public class TodoCenterManage {
String employeeCode = param.getEmployeeCode();
if(StringUtils.isBlank(employeeCode)){
// 获取登录用户ID
Long userId = Optional.of(param.getLoginUserId()).orElseGet(LoginUserUtil::getUserId);
Long userId = Optional.ofNullable(param.getLoginUserId()).orElseGet(LoginUserUtil::getUserId);
// 获取登录用户全量信息
UserFullInfoDTO userFullInfo = userInfoHelper.getUserFullInfo(userId);
// 获取员工浙政钉code


Loading…
Cancel
Save