Commit 4760aa01 authored by wujipeng's avatar wujipeng
Browse files

优化

parent c48290a8
......@@ -118,6 +118,7 @@ public class DingTask {
@Scheduled(cron = "0 0 10 * * *")
// @Scheduled(fixedRate = 20000)
public void collectAttendance() {
log.info("同步考勤汇总数据开始");
// 获取当前日期
Date currentDate = new Date();
LocalDate localDate = currentDate.toInstant().atZone(ZoneId.systemDefault()).toLocalDate();
......@@ -166,6 +167,7 @@ public class DingTask {
}
dingAttendanceTotalService.saveOrUpdateBatch(dingAttendanceTotalList);
log.info("同步考勤汇总数据结束");
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment