| | |
| | | /** |
| | | * 查询设备资产列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:monitor:list')") |
| | | @PreAuthorize("@ss.hasPermi('system:monitor:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(TMonitor tMonitor) |
| | | public TableDataInfo list(TMonitorVO tMonitor) |
| | | { |
| | | startPage(); |
| | | List<TMonitorVO> list = tMonitorService.selectTMonitorList(tMonitor); |
| | |
| | | @PreAuthorize("@ss.hasPermi('system:monitor:export')") |
| | | @Log(title = "设备资产", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, TMonitor tMonitor) |
| | | public void export(HttpServletResponse response, TMonitorVO tMonitor) |
| | | { |
| | | List<TMonitorVO> list = tMonitorService.selectTMonitorList(tMonitor); |
| | | ExcelUtil<TMonitorVO> util = new ExcelUtil<TMonitorVO>(TMonitorVO.class); |
| | |
| | | * 获取视频设备统计数 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:monitor:list')") |
| | | @GetMapping("/getVideoCount/{cameraFunType}") |
| | | public AjaxResult getVideoCount(@PathVariable String cameraFunType) |
| | | @GetMapping("/getVideoCount") |
| | | public AjaxResult getVideoCount(TMonitorVO monitor) |
| | | { |
| | | return success(tMonitorService.getVideoCount(cameraFunType)); |
| | | return success(tMonitorService.getVideoCount(monitor)); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:monitor:list')") |
| | | @GetMapping("/recoveryException") |
| | | public AjaxResult recoveryException() |
| | | public AjaxResult recoveryException(TMonitorVO monitor) |
| | | { |
| | | return success(tMonitorService.recoveryException()); |
| | | return success(tMonitorService.recoveryException(monitor)); |
| | | } |
| | | |
| | | |