| | |
| | | import enumeration.BusinessType; |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.List; |
| | |
| | | { |
| | | return toAjax(tMonitorService.deleteTMonitorByIds(ids)); |
| | | } |
| | | |
| | | /** |
| | | * 获取视频设备统计数 |
| | | */ |
| | | @GetMapping("/getVideoCount/{cameraFunType}") |
| | | public AjaxResult getVideoCount(@PathVariable String cameraFunType) |
| | | { |
| | | return success(tMonitorService.getVideoCount(cameraFunType)); |
| | | } |
| | | |
| | | /** |
| | | * 获取异常恢复视频设备统计数 |
| | | */ |
| | | @GetMapping("/recoveryException") |
| | | public AjaxResult recoveryException() |
| | | { |
| | | return success(tMonitorService.recoveryException()); |
| | | } |
| | | |
| | | |
| | | } |