| | |
| | | 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.*; |
| | |
| | | @PostMapping("/videoMinistrySiteOnline") |
| | | public Result videoMinistrySiteOnline(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.videoPointOnlineRate(query); |
| | | return dataCenterService.deptVideoPointOnlineRate(query); |
| | | } |
| | | |
| | | /** |
| | |
| | | @PostMapping("/videoMinistryVideoAvailable") |
| | | public Result videoMinistryVideoAvailable(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | // TODO 做部级数据区分 |
| | | return dataCenterService.videoLabelingAccuracy(query); |
| | | return dataCenterService.deptVideoAvailabilityRate(query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:录像可用率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @PostMapping("/videoAvailabilityRate") |
| | | public Result videoAvailabilityRate(@RequestBody DataCenterQuery query) { |
| | | query.setTime(); |
| | | return dataCenterService.videoAvailabilityRate(query); |
| | | } |
| | | |
| | | /** |
| | |
| | | query.setTime(); |
| | | return dataCenterService.videoImportantPointLabelingAccuracy(query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:校时正确率 |
| | | * 视频:导出重点点位标注正确率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @PostMapping("/videoImportantPointLabelingAccuracy/export") |
| | | public void videoImportantPointLabelingAccuracyExport(HttpServletResponse response,DataCenterQuery query) { |
| | | query.setTime(); |
| | | dataCenterService.videoImportantPointLabelingAccuracyExport(response,query); |
| | | } |
| | | /** |
| | | * 视频:校时正确率 (新规则已经弃用) |
| | | * |
| | | * @param query |
| | | * @return |