From b14531e3b850fe6d2fa916ba7b88b3e2bd2ff30a Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期三, 11 九月 2024 16:47:48 +0800
Subject: [PATCH] OSD加标签

---
 ycl-server/src/main/java/com/ycl/platform/controller/TMonitorController.java |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/ycl-server/src/main/java/com/ycl/platform/controller/TMonitorController.java b/ycl-server/src/main/java/com/ycl/platform/controller/TMonitorController.java
index 436efa6..3ac12c1 100644
--- a/ycl-server/src/main/java/com/ycl/platform/controller/TMonitorController.java
+++ b/ycl-server/src/main/java/com/ycl/platform/controller/TMonitorController.java
@@ -34,7 +34,7 @@
      */
    @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);
@@ -47,7 +47,7 @@
    @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);
@@ -104,7 +104,9 @@
     @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));
     }
 
     /**

--
Gitblit v1.8.0