|
|
@@ -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<EmployeeInfoDTO> result = zwddAuthClient.getEmployeeByCode(empCode); |
|
|
|
GenericResult<EmployeeInfoDTO> result = zwddClient.getEmployeeByCode(empCode); |
|
|
|
log.error("请求员工信息 result:{}",JSON.toJSONString(result)); |
|
|
|
if(!result.isSuccess()){ |
|
|
|
log.error("请求员工信息失败 :{},mesg:{}",empCode,result.getMsg()); |
|
|
|