Commit 50d6845d authored by 赵啸非's avatar 赵啸非

添加适配直连考勤机定时任务代码

parent 7d591c18
......@@ -91,6 +91,7 @@ public class SyncDoorsEventTaskImpl implements ITaskExcuteService {
recordHikService.syncDoorEvents(hikQuery);
recordHikService.deletFakeRecord(hikQuery, null);
}else{
log.info("同步设备上门禁事件!");
HikDoorEventReq hikDoorEventReq = new HikDoorEventReq();
hikDoorEventReq.setStartTime(startTime.toJdkDate());
hikDoorEventReq.setEndTime(DateUtil.endOfDay(new Date()));
......@@ -100,7 +101,6 @@ public class SyncDoorsEventTaskImpl implements ITaskExcuteService {
}
recordHikService.deletFakeRecord(hikQuery, null);
}
//syncDoorEvents();
}
}
......
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