diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/ding/task/EmployeeBatchGetTask.java b/pmapi/src/main/java/com/ningdatech/pmapi/ding/task/EmployeeBatchGetTask.java index a7f1130..0c71f11 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/ding/task/EmployeeBatchGetTask.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/ding/task/EmployeeBatchGetTask.java @@ -53,9 +53,6 @@ public class EmployeeBatchGetTask { private ZwddClient zwddClient; @Autowired - private ZwddAuthClient zwddAuthClient; - - @Autowired private IDingOrganizationService iDingOrganizationService; @Autowired @@ -424,7 +421,7 @@ public class EmployeeBatchGetTask { * @param empCode */ public void getEmployeeByCode(String empCode) { - GenericResult result = zwddAuthClient.getEmployeeByCode(empCode); + GenericResult result = zwddClient.getEmployeeByCode(empCode); log.error("请求员工信息 result:{}",JSON.toJSONString(result)); if(!result.isSuccess()){ log.error("请求员工信息失败 :{},mesg:{}",empCode,result.getMsg());