diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/organization/service/IDingOrganizationService.java b/pmapi/src/main/java/com/ningdatech/pmapi/organization/service/IDingOrganizationService.java index 4376c60..c129a95 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/organization/service/IDingOrganizationService.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/organization/service/IDingOrganizationService.java @@ -64,7 +64,7 @@ public interface IDingOrganizationService extends IService { Map getOrgMap(List orgCodeList); /** - * 获取 key:专家code value:组织信息 + * 获取 key:专家code value:组织信息 (所属单位组织信息) * @param employeeInfoList * @return */ diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/organization/service/impl/DingOrganizationServiceImpl.java b/pmapi/src/main/java/com/ningdatech/pmapi/organization/service/impl/DingOrganizationServiceImpl.java index 3811b43..6ed4482 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/organization/service/impl/DingOrganizationServiceImpl.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/organization/service/impl/DingOrganizationServiceImpl.java @@ -94,7 +94,7 @@ public class DingOrganizationServiceImpl extends ServiceImpl empCodeOrgMap = new HashMap(); for(DingEmployeeInfo dingEmployeeInfo:employeeInfoList){ - DingOrganization dingOrganization = orgMap.get(dingEmployeeInfo.getOrganizationCode()); + DingOrganization dingOrganization = orgMap.get(dingEmployeeInfo.getEmpPosUnitCode()); if (Objects.nonNull(dingOrganization)){ empCodeOrgMap.put(dingEmployeeInfo.getEmployeeCode(),dingOrganization); }