liuxinxin 1 год назад
Родитель
Сommit
27bbafc630
1 измененных файлов: 6 добавлений и 5 удалений
  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 Просмотреть файл

@@ -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<>();


Загрузка…
Отмена
Сохранить