|
|
@@ -128,7 +128,7 @@ public class UserAuthLoginManage { |
|
|
|
List<DingOrganization> 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; |
|
|
|
} |
|
|
|