|
|
@@ -53,6 +53,9 @@ public class EmployeeBatchGetTask { |
|
|
|
private ZwddClient zwddClient; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private ZwddAuthClient zwddAuthClient; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private IDingOrganizationService iDingOrganizationService; |
|
|
|
|
|
|
|
@Autowired |
|
|
@@ -466,4 +469,12 @@ public class EmployeeBatchGetTask { |
|
|
|
getEmployeeByCode(employee.getEmployeeCode()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 获取token |
|
|
|
*/ |
|
|
|
public String getToken() { |
|
|
|
GenericResult<String> accessToken = zwddClient.getAccessToken(); |
|
|
|
return accessToken.getData(); |
|
|
|
} |
|
|
|
} |