Browse Source

浙政钉员工信息更新停止

tags/24080901
WendyYang 10 months ago
parent
commit
30eb95a407
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/scheduler/task/BatchUpdateEmployeeTask.java

+ 1
- 1
hz-pm-api/src/main/java/com/hz/pm/api/scheduler/task/BatchUpdateEmployeeTask.java View File

@@ -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;


Loading…
Cancel
Save