| | |
| | | |
| | | public static Integer endId2 = 0; |
| | | @ApiOperation("开启定时查询人员设备授权结果") |
| | | @GetMapping("/syncEmpowerDetailData") |
| | | @PostMapping("/syncEmpowerDetailData") |
| | | public ApiResponse syncEmpowerDetailData() { |
| | | if(endId2 ==null){ |
| | | endId2 =0; |
| | |
| | | return ApiResponse.success("开启定时查询人员设备授权结果成功"); |
| | | } |
| | | @ApiOperation("开启定时查询人员设备授权下载进度") |
| | | @GetMapping("/syncEmpowerResultData") |
| | | @PostMapping("/syncEmpowerResultData") |
| | | public ApiResponse syncEmpowerResultData() { |
| | | hkSyncEmpowerService.syncEmpowerResultData(0); |
| | | return ApiResponse.success("开启定时查询人员设备授权下载进度成功"); |
| | | } |
| | | |
| | | @ApiOperation("开启定时重新下发失败的授权数据") |
| | | @GetMapping("/syncEmpowerFailData") |
| | | @PostMapping("/syncEmpowerFailData") |
| | | public ApiResponse syncEmpowerFailData() { |
| | | hkSyncEmpowerService.syncEmpowerFailData(0); |
| | | return ApiResponse.success("开启定时重新下发失败的授权数据成功"); |
| | |
| | | @Autowired |
| | | private HkSyncVehicleFromHKServiceImpl hkSyncVehicleFromHKService; |
| | | @ApiOperation("开启定时刷新人员设备授权") |
| | | @GetMapping("/syncEmpowerData") |
| | | @PostMapping("/syncEmpowerData") |
| | | public ApiResponse syncEmpowerData() { |
| | | if(endId ==null){ |
| | | endId =0; |