From c96ab96cb0243e197c5d6603312dfd06b3b15ebb Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期三, 14 十二月 2022 16:01:02 +0800
Subject: [PATCH] 报警图片加红色标注框

---
 ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml b/ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml
index bbea396..ae8aff0 100644
--- a/ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml
@@ -329,4 +329,15 @@
                  LEFT JOIN ums_violations t3 on t1.id = t3.id
         WHERE t2.workflow_config_step_id IN (1, 2)
     </select>
+
+    <select id="selectType" resultType="com.ycl.vo.cockpit.enforcementEvents.VideoAndAreaVO">
+        SELECT
+            IFNULL( t2.`name`, "鍏朵粬" ) as name,
+            COUNT( 1 )  as count
+        FROM
+            ums_violations t1
+                LEFT JOIN ums_data_dictionary t2 ON t1.category_id = t2.id
+        GROUP BY
+            t1.category_id
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0