|
@@ -32,7 +32,7 @@ public class BatchUpdateEmployeeTask { |
|
|
private final EmployeeBatchGetTask employeeBatchGetTask; |
|
|
private final EmployeeBatchGetTask employeeBatchGetTask; |
|
|
private final IDingOrganizationService organizationService; |
|
|
private final IDingOrganizationService organizationService; |
|
|
|
|
|
|
|
|
@Scheduled(cron = "0 45 1 * * ?") |
|
|
|
|
|
|
|
|
//@Scheduled(cron = "0 45 1 * * ?") |
|
|
public void doTask() throws UnknownHostException { |
|
|
public void doTask() throws UnknownHostException { |
|
|
if (!HOST_NAME.equals(InetAddress.getLocalHost().getHostName())) { |
|
|
if (!HOST_NAME.equals(InetAddress.getLocalHost().getHostName())) { |
|
|
return; |
|
|
return; |
|
|