Ver código fonte

所属组织信息

master
niohe·erbao 1 ano atrás
pai
commit
295f5724e3
2 arquivos alterados com 2 adições e 2 exclusões
  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 Ver arquivo

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

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


+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/organization/service/impl/DingOrganizationServiceImpl.java Ver arquivo

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

Map<String, DingOrganization> empCodeOrgMap = new HashMap<String, DingOrganization>();
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);
}


Carregando…
Cancelar
Salvar