Commit 46850552 authored by 赵啸非's avatar 赵啸非

添加钉钉对接流程代码

parent 2c37042a
......@@ -89,9 +89,8 @@ public class SyncUserTaskImpl implements ITaskExcuteService {
syncDingDingLocalUserIds();
log.info("钉钉直连同步人员信息");
//同步最近10天请假信息
DateTime weekStart = DateUtil.offsetDay(new Date(), -30);
DateTime weekStart = DateUtil.offsetDay(new Date(), -10);
AttendanceRecordHikQuery hikQuery = new AttendanceRecordHikQuery();
hikQuery.setAttendanceDateStart(DateUtil.format(weekStart, "yyyy-MM-dd"));
hikQuery.setAttendanceDateEnd(DateUtil.today());
......@@ -104,7 +103,6 @@ public class SyncUserTaskImpl implements ITaskExcuteService {
private void checkDingDingEvent(AttendanceRecordHikQuery hikEntity) {
log.info("开始同步钉钉请假事件!");
AttendanceLeaveRecordQuery query = new AttendanceLeaveRecordQuery();
query.setStartTimeStart(hikEntity.getAttendanceDateStart());
......
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