liuxinxin 1 rok temu
rodzic
commit
27bbafc630
1 zmienionych plików z 6 dodań i 5 usunięć
  1. +6
    -5
      pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserAuthLoginManage.java

+ 6
- 5
pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserAuthLoginManage.java Wyświetl plik

@@ -128,11 +128,12 @@ public class UserAuthLoginManage {
List<DingOrganization> dingOrganizationList = iDingOrganizationService
.list(Wrappers.lambdaQuery(DingOrganization.class)
.eq(DingOrganization::getOrganizationCode, organizationCode));
DingOrganization dingOrganization = dingOrganizationList.get(0);

userFullInfoDTO.setOrganizationCode(dingOrganization.getOrganizationCode());
userFullInfoDTO.setOrganizationName(dingOrganization.getOrganizationName());
userFullInfoDTO.setRegionCode(dingOrganization.getDivisionCode());
if (CollectionUtil.isNotEmpty(dingOrganizationList)){
DingOrganization dingOrganization = dingOrganizationList.get(0);
userFullInfoDTO.setOrganizationCode(dingOrganization.getOrganizationCode());
userFullInfoDTO.setOrganizationName(dingOrganization.getOrganizationName());
userFullInfoDTO.setRegionCode(dingOrganization.getDivisionCode());
}
}

List<Role> roleList = new ArrayList<>();


Ładowanie…
Anuluj
Zapisz