From 5e4c87de6222830565a92b1cb69c9c15a2f5ada2 Mon Sep 17 00:00:00 2001 From: liuxinxin Date: Tue, 21 Feb 2023 10:34:58 +0800 Subject: [PATCH] fix --- .../src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java b/pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java index f6dad91..73fbe30 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java @@ -87,12 +87,12 @@ public class UserInfoManage { && UserAvailableEnum.ENABLE.name().equals(userInfo.getAvailable())) { resListVO.setStatus(UserAvailableEnum.ENABLE.name()); } + resListVO.setUserId(userInfo.getId()); } else { resListVO.setStatus(UserAvailableEnum.DISABLE.name()); } resListVO.setUpdateTime(r.getUpdateOn()); // 从用户信息中获取 - resListVO.setUserId(1L); resListVO.setEmployeeCode(r.getEmployeeCode()); resListVO.setUserRoleList(new ArrayList<>()); return resListVO;