|  |  |  | 
|---|
|  |  |  | package com.doumee.api; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.doumee.api.BaseController; | 
|---|
|  |  |  | import com.doumee.core.model.ApiResponse; | 
|---|
|  |  |  | import com.doumee.service.business.third.model.ApiResponse; | 
|---|
|  |  |  | import com.doumee.core.utils.Constants; | 
|---|
|  |  |  | import com.doumee.service.business.VisitsService; | 
|---|
|  |  |  | import com.doumee.service.business.impl.hksync.HkSyncDeviceServiceImpl; | 
|---|
|  |  |  | import com.doumee.service.business.impl.hksync.HkSyncVisitServiceImpl; | 
|---|
|  |  |  | import com.doumee.service.business.impl.hksync.fhk.HkSyncVisitFromHKServiceImpl; | 
|---|
|  |  |  | import io.swagger.annotations.Api; | 
|---|
|  |  |  | 
|---|
|  |  |  | visitsService.syncTimeOutData(); | 
|---|
|  |  |  | return ApiResponse.success("访客即将超时预警"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | @ApiOperation("待审批记录超时自动取消预约") | 
|---|
|  |  |  | @GetMapping("/visitNoCheckCancel") | 
|---|
|  |  |  | public ApiResponse visitNoCheckCancel() { | 
|---|
|  |  |  | visitsService.visitNoCheckCancel(); | 
|---|
|  |  |  | return ApiResponse.success("待审批记录超时自动取消预约"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|