From 295f5724e31f51d991c9a55e309b039a66d82f2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?niohe=C2=B7erbao?= Date: Fri, 21 Apr 2023 09:52:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=80=E5=B1=9E=E7=BB=84=E7=BB=87=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ningdatech/pmapi/organization/service/IDingOrganizationService.java | 2 +- .../pmapi/organization/service/impl/DingOrganizationServiceImpl.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }