Pārlūkot izejas kodu

返回区域中文名

tags/24080901
PoffyZhang pirms 1 gada
vecāks
revīzija
92bb857174
2 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. +2
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java
  2. +3
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/user/model/vo/ResUserDetailVO.java

+ 2
- 0
pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java Parādīt failu

@@ -416,6 +416,8 @@ public class UserInfoManage {
resUserDetailVO.setOrgCode(userFullInfo.getOrganizationCode());
resUserDetailVO.setOrgName(userFullInfo.getOrganizationName());
resUserDetailVO.setRegionCode(userFullInfo.getRegionCode());
resUserDetailVO.setRegionName(regionCacheHelper.getRegionName(userFullInfo.getRegionCode()
,RegionConst.RL_COUNTY));
resUserDetailVO.setEmpPosUnitCode(userFullInfo.getEmpPosUnitCode());
resUserDetailVO.setEmpPosUnitName(userFullInfo.getEmpPosUnitName());
}


+ 3
- 0
pmapi/src/main/java/com/ningdatech/pmapi/user/model/vo/ResUserDetailVO.java Parādīt failu

@@ -4,9 +4,11 @@ import com.ningdatech.pmapi.common.constant.RegionConst;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.StringUtils;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Objects;

/**
* @author liuxinxin
@@ -40,6 +42,7 @@ public class ResUserDetailVO {
@ApiModelProperty("所属区域")
private Long regionId;
private String regionCode;
private String regionName;

@ApiModelProperty("用户任职所在单位code")
private String empPosUnitCode;


Notiek ielāde…
Atcelt
Saglabāt