From aa7b679681288ef16beab45b878b33888e1fa5ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?niohe=C2=B7erbao?= Date: Fri, 31 Mar 2023 10:25:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ningdatech/pmapi/user/manage/UserAuthLoginManage.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserAuthLoginManage.java b/pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserAuthLoginManage.java index 4c4806e..8e745f0 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserAuthLoginManage.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserAuthLoginManage.java @@ -128,7 +128,7 @@ public class UserAuthLoginManage { List dingOrganizationList = iDingOrganizationService .list(Wrappers.lambdaQuery(DingOrganization.class) .eq(DingOrganization::getOrganizationCode, organizationCode)); - if (CollectionUtil.isNotEmpty(dingOrganizationList)){ + if (CollectionUtil.isNotEmpty(dingOrganizationList)) { DingOrganization dingOrganization = dingOrganizationList.get(0); userFullInfoDTO.setOrganizationCode(dingOrganization.getOrganizationCode()); userFullInfoDTO.setOrganizationName(dingOrganization.getOrganizationName()); @@ -157,13 +157,13 @@ public class UserAuthLoginManage { userFullInfoDTO.setUsername(userInfo.getRealName()); // TODO 测试使用 - userFullInfoDTO.setRegionCode("330000"); - userFullInfoDTO.setRegionLevel(1); + userFullInfoDTO.setRegionCode("331100"); + userFullInfoDTO.setRegionLevel(3); } public UserFullInfoDTO getUserFullInfoByEmployeeCode(String employeeCode) { UserInfo userInfo = iUserInfoService.getOne(Wrappers.lambdaQuery(UserInfo.class) - .eq(UserInfo::getEmployeeCode,employeeCode).last("limit 1")); + .eq(UserInfo::getEmployeeCode, employeeCode).last("limit 1")); if (Objects.isNull(userInfo)) { return null; }