| | |
| | | import com.ycl.platform.service.PlatformOnlineService; |
| | | import com.ycl.system.Result; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | /** |
| | | * 数据中心接口 |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/assetManagement") |
| | | @PostMapping("/assetManagement") |
| | | @ApiOperation(value = "资产管理", notes = "资产管理") |
| | | @PreAuthorize("@ss.hasPermi('assetManagement:page')") |
| | | public Result assetManagement(DataCenterQuery query) { |
| | | public Result assetManagement(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return monitorService.assetManagement(query); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/platformOnlineRate") |
| | | @PostMapping("/platformOnlineRate") |
| | | @ApiOperation(value = "平台在线率", notes = "平台在线率") |
| | | @PreAuthorize("@ss.hasPermi('platformOnline:page')") |
| | | public Result platformOnlineRate(DataCenterQuery query) { |
| | | public Result platformOnlineRate(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return platformOnlineService.page(query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:点位在线率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoPointOnlineRate") |
| | | public Result videoPointOnlineRate(DataCenterQuery query) { |
| | | return dataCenterService.videoPointOnlineRate(query); |
| | | } |
| | | |
| | | /** |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoOneMachineDocumentRegister") |
| | | public Result videoOneMachineDocumentRegister(DataCenterQuery query) { |
| | | @PostMapping("/videoOneMachineDocumentRegister") |
| | | public Result videoOneMachineDocumentRegister(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.videoOneMachineDocumentRegister(query); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoOneMachineDocumentQualified") |
| | | public Result videoOneMachineDocumentQualified(DataCenterQuery query) { |
| | | @PostMapping("/videoOneMachineDocumentQualified") |
| | | public Result videoOneMachineDocumentQualified(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.videoOneMachineDocumentQualified(query); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoAssessmentFileRatio") |
| | | public Result videoAssessmentFileRatio(DataCenterQuery query) { |
| | | @PostMapping("/videoAssessmentFileRatio") |
| | | public Result videoAssessmentFileRatio(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.videoAssessmentFileRatio(query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:点位在线率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @PostMapping("/videoPointOnlineRate") |
| | | public Result videoPointOnlineRate(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.videoPointOnlineRate(query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:部级点位在线率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @PostMapping("/videoMinistrySiteOnline") |
| | | public Result videoMinistrySiteOnline(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.deptVideoPointOnlineRate(query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:部级巡检录像可用率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @PostMapping("/videoMinistryVideoAvailable") |
| | | public Result videoMinistryVideoAvailable(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.deptVideoAvailabilityRate(query); |
| | | } |
| | | |
| | | /** |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoAvailabilityRate") |
| | | public Result videoAvailabilityRate(DataCenterQuery query) { |
| | | @PostMapping("/videoAvailabilityRate") |
| | | public Result videoAvailabilityRate(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.videoAvailabilityRate(query); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoImportantPointAvailabilityRate") |
| | | public Result videoImportantPointAvailabilityRate(DataCenterQuery query) { |
| | | @PostMapping("/videoImportantPointAvailabilityRate") |
| | | public Result videoImportantPointAvailabilityRate(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.videoImportantPointAvailabilityRate(query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:标注正确率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoLabelingAccuracy") |
| | | public Result videoLabelingAccuracy(DataCenterQuery query) { |
| | | return dataCenterService.videoLabelingAccuracy(query); |
| | | } |
| | | |
| | | /** |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoImportantPointLabelingAccuracy") |
| | | public Result videoImportantPointLabelingAccuracy(DataCenterQuery query) { |
| | | @PostMapping("/videoImportantPointLabelingAccuracy") |
| | | public Result videoImportantPointLabelingAccuracy(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.videoImportantPointLabelingAccuracy(query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:校时正确率 |
| | | * 视频:导出重点点位标注正确率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoCheckTimeAccuracy") |
| | | public Result videoCheckTimeAccuracy(DataCenterQuery query) { |
| | | @PostMapping("/videoImportantPointLabelingAccuracy/export") |
| | | public void videoImportantPointLabelingAccuracyExport(HttpServletResponse response,DataCenterQuery query) { |
| | | query.setTime(); |
| | | dataCenterService.videoImportantPointLabelingAccuracyExport(response,query); |
| | | } |
| | | /** |
| | | * 视频:校时正确率 (新规则已经弃用) |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @PostMapping("/videoCheckTimeAccuracy") |
| | | public Result videoCheckTimeAccuracy(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.videoCheckTimeAccuracy(query); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoImportantPointCheckTimeAccuracy") |
| | | public Result videoImportantPointCheckTimeAccuracy(DataCenterQuery query) { |
| | | @PostMapping("/videoImportantPointCheckTimeAccuracy") |
| | | public Result videoImportantPointCheckTimeAccuracy(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.videoImportantPointCheckTimeAccuracy(query); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoImportantPointOnlineRate") |
| | | public Result videoImportantPointOnlineRate(DataCenterQuery query) { |
| | | @PostMapping("/videoImportantPointOnlineRate") |
| | | public Result videoImportantPointOnlineRate(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.videoImportantPointOnlineRate(query); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoImportantPointImageOnlineRate") |
| | | public Result videoImportantPointImageOnlineRate(DataCenterQuery query) { |
| | | @PostMapping("/videoImportantPointImageOnlineRate") |
| | | public Result videoImportantPointImageOnlineRate(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.videoImportantPointImageOnlineRate(query); |
| | | } |
| | | /** |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoImageResourceSecurity") |
| | | public Result videoImageResourceSecurity(DataCenterQuery query) { |
| | | @PostMapping("/videoImageResourceSecurity") |
| | | public Result videoImageResourceSecurity(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.videoImageResourceSecurity(query); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleViewDockStable") |
| | | public Result vehicleViewDockStable(DataCenterQuery query) { |
| | | @PostMapping("/vehicleViewDockStable") |
| | | public Result vehicleViewDockStable(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.vehicleViewDockStable(query); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehiclePointOnlineRate") |
| | | public Result vehiclePointOnlineRate(DataCenterQuery query) { |
| | | @PostMapping("/vehiclePointOnlineRate") |
| | | public Result vehiclePointOnlineRate(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.vehiclePointOnlineRate(query); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleNetDeviceDirectoryConsistency") |
| | | public Result vehicleNetDeviceDirectoryConsistency(DataCenterQuery query) { |
| | | @PostMapping("/vehicleNetDeviceDirectoryConsistency") |
| | | public Result vehicleNetDeviceDirectoryConsistency(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.vehicleNetDeviceDirectoryConsistency(query); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleCollectionConsistency") |
| | | public Result vehicleCollectionConsistency(DataCenterQuery query) { |
| | | @PostMapping("/vehicleCollectionConsistency") |
| | | public Result vehicleCollectionConsistency(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.vehicleCollectionConsistency(query); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleCollectionDataIntegrity") |
| | | public Result vehicleCollectionDataIntegrity(DataCenterQuery query) { |
| | | @PostMapping("/vehicleCollectionDataIntegrity") |
| | | public Result vehicleCollectionDataIntegrity(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.vehicleCollectionDataIntegrity(query); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleCollectionDataCaptured") |
| | | public Result vehicleCollectionDataCaptured(DataCenterQuery query) { |
| | | @PostMapping("/vehicleCollectionDataCaptured") |
| | | public Result vehicleCollectionDataCaptured(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.vehicleCollectionDataCaptured(query); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleClockAccuracy") |
| | | public Result vehicleClockAccuracy(DataCenterQuery query) { |
| | | @PostMapping("/vehicleClockAccuracy") |
| | | public Result vehicleClockAccuracy(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.vehicleClockAccuracy(query); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleTimelyUploadAccuracy") |
| | | public Result vehicleTimelyUploadAccuracy(DataCenterQuery query) { |
| | | @PostMapping("/vehicleTimelyUploadAccuracy") |
| | | public Result vehicleTimelyUploadAccuracy(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.vehicleTimelyUploadAccuracy(query); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleUrlAccuracy") |
| | | public Result vehicleUrlAccuracy(DataCenterQuery query) { |
| | | @PostMapping("/vehicleUrlAccuracy") |
| | | public Result vehicleUrlAccuracy(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.vehicleUrlAccuracy(query); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleBigImgAccuracy") |
| | | public Result vehicleBigImgAccuracy(DataCenterQuery query) { |
| | | @PostMapping("/vehicleBigImgAccuracy") |
| | | public Result vehicleBigImgAccuracy(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.vehicleBigImgAccuracy(query); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/faceViewDockStable") |
| | | public Result faceViewDockStable(DataCenterQuery query) { |
| | | @PostMapping("/faceViewDockStable") |
| | | public Result faceViewDockStable(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return (dataCenterService.faceViewDockStable(query)); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/facePointOnlineRate") |
| | | public Result facePointOnlineRate(DataCenterQuery query) { |
| | | @PostMapping("/facePointOnlineRate") |
| | | public Result facePointOnlineRate(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return (dataCenterService.facePointOnlineRate(query)); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/faceDirectoryConsistency") |
| | | public Result faceDirectoryConsistency(DataCenterQuery query) { |
| | | @PostMapping("/faceDirectoryConsistency") |
| | | public Result faceDirectoryConsistency(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return (dataCenterService.faceDirectoryConsistency(query)); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/faceCollectionConsistency") |
| | | public Result faceCollectionConsistency(DataCenterQuery query) { |
| | | @PostMapping("/faceCollectionConsistency") |
| | | public Result faceCollectionConsistency(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return (dataCenterService.faceCollectionConsistency(query)); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/faceImgQualification") |
| | | public Result faceImgQualification(DataCenterQuery query) { |
| | | @PostMapping("/faceImgQualification") |
| | | public Result faceImgQualification(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return (dataCenterService.faceImgQualification(query)); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/faceCapturesImagesAccuracy") |
| | | public Result faceCapturesImagesAccuracy(DataCenterQuery query) { |
| | | @PostMapping("/faceCapturesImagesAccuracy") |
| | | public Result faceCapturesImagesAccuracy(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return (dataCenterService.faceCapturesImagesAccuracy(query)); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/faceTimelyUpload") |
| | | public Result faceTimelyUpload(DataCenterQuery query) { |
| | | @PostMapping("/faceTimelyUpload") |
| | | public Result faceTimelyUpload(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return (dataCenterService.faceTimelyUpload(query)); |
| | | } |
| | | |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/faceAvailabilityOfLargeImg") |
| | | public Result faceAvailabilityOfLargeImg(DataCenterQuery query) { |
| | | @PostMapping("/faceAvailabilityOfLargeImg") |
| | | public Result faceAvailabilityOfLargeImg(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return (dataCenterService.faceAvailabilityOfLargeImg(query)); |
| | | } |
| | | } |