Browse Source

Merge remote-tracking branch 'origin/master'

tags/24080901
PoffyZhang 1 year ago
parent
commit
e14b121adc
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/organization/service/IDingOrganizationService.java
  2. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/organization/service/impl/DingOrganizationServiceImpl.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/organization/service/IDingOrganizationService.java View File

@@ -64,7 +64,7 @@ public interface IDingOrganizationService extends IService<DingOrganization> {
Map<String, DingOrganization> getOrgMap(List<String> orgCodeList); Map<String, DingOrganization> getOrgMap(List<String> orgCodeList);


/** /**
* 获取 key:专家code value:组织信息
* 获取 key:专家code value:组织信息 (所属单位组织信息)
* @param employeeInfoList * @param employeeInfoList
* @return * @return
*/ */


+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/organization/service/impl/DingOrganizationServiceImpl.java View File

@@ -94,7 +94,7 @@ public class DingOrganizationServiceImpl extends ServiceImpl<DingOrganizationMap


Map<String, DingOrganization> empCodeOrgMap = new HashMap<String, DingOrganization>(); Map<String, DingOrganization> empCodeOrgMap = new HashMap<String, DingOrganization>();
for(DingEmployeeInfo dingEmployeeInfo:employeeInfoList){ for(DingEmployeeInfo dingEmployeeInfo:employeeInfoList){
DingOrganization dingOrganization = orgMap.get(dingEmployeeInfo.getOrganizationCode());
DingOrganization dingOrganization = orgMap.get(dingEmployeeInfo.getEmpPosUnitCode());
if (Objects.nonNull(dingOrganization)){ if (Objects.nonNull(dingOrganization)){
empCodeOrgMap.put(dingEmployeeInfo.getEmployeeCode(),dingOrganization); empCodeOrgMap.put(dingEmployeeInfo.getEmployeeCode(),dingOrganization);
} }


Loading…
Cancel
Save