浏览代码

fix

master
liuxinxin 1年前
父节点
当前提交
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<>();


正在加载...
取消
保存