| | |
| | | package com.ycl.platform.controller; |
| | | |
| | | import annotation.Log; |
| | | import com.ycl.platform.domain.form.UpdateDynamicValueForm; |
| | | import com.ycl.platform.domain.query.DataCenterQuery; |
| | | import com.ycl.platform.service.DataCenterService; |
| | | import com.ycl.platform.service.ITMonitorService; |
| | |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.io.IOException; |
| | | |
| | | /** |
| | | * 数据中心接口 |
| | |
| | | return dataCenterService.deptVideoAvailabilityRate(query); |
| | | } |
| | | |
| | | @PutMapping("/videoMinistryVideoAvailable/updateDynamicValue") |
| | | public Result updateDynamicValue(@RequestBody UpdateDynamicValueForm form){ |
| | | return dataCenterService.updateDynamicValue(form); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 视频:录像可用率 |
| | | * |
| | |
| | | query.setTime(); |
| | | return dataCenterService.videoImportantPointLabelingAccuracy(query); |
| | | } |
| | | |
| | | |
| | | @PostMapping("/recordingAvailability/export") |
| | | public void recordingAvailabilityExport(HttpServletResponse response,DataCenterQuery query) throws IOException { |
| | | query.setTime(); |
| | | dataCenterService.recordingAvailabilityExport(response, query); |
| | | } |
| | | |
| | | @PostMapping("/pointOnlineVideo/export") |
| | | public void pointOnlineVideoExport(HttpServletResponse response,DataCenterQuery query) throws IOException { |
| | | query.setTime(); |
| | | dataCenterService.pointOnlineVideoExport(response,query); |
| | | } |
| | | |
| | | @PostMapping("/pointOnlineCar/export") |
| | | public void pointOnlineCarExport(HttpServletResponse response,DataCenterQuery query) throws IOException { |
| | | query.setTime(); |
| | | dataCenterService.pointOnlineCarExport(response,query); |
| | | } |
| | | |
| | | @PostMapping("/pointOnlineFace/export") |
| | | public void pointOnlineFaceExport(HttpServletResponse response,DataCenterQuery query) throws IOException { |
| | | query.setTime(); |
| | | dataCenterService.pointOnlineFaceExport(response,query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:导出重点点位标注正确率 |
| | | * |