server/dmvisit_admin/src/main/java/com/doumee/task/ScheduleTool.java
@@ -64,7 +64,7 @@ * 每分钟拉取一次今日的访客预约数据 * @throws Exception */ @Scheduled(fixedDelay= 60*1000) @Scheduled(fixedDelay= 30*1000) public void syncVistAppointData() throws Exception { if(Constants.DEALING_FROM_HK_VISIT){ return ; @@ -80,6 +80,14 @@ } } /** * 每10分钟拉取一次最新访客登记状态(预约成功和已登记) * @throws Exception */ @Scheduled(fixedDelay= 10*60*1000) public void syncVisitOuttimeStatus() throws Exception { hkSyncVisitService.getOutTimeVisitRecord(); } /** * 下载海康系统图片数据 * @throws Exception */