| | |
| | | */ |
| | | @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); |
| | |
| | | @GetMapping("/getVideoCount/{cameraFunType}") |
| | | public AjaxResult getVideoCount(@PathVariable String cameraFunType) |
| | | { |
| | | return success(tMonitorService.getVideoCount(cameraFunType)); |
| | | TMonitor tMonitor = new TMonitor(); |
| | | tMonitor.setCameraFunType(cameraFunType); |
| | | return success(tMonitorService.getVideoCount(tMonitor)); |
| | | } |
| | | |
| | | /** |