From 343c09708de66de4c82ee8367f4b5c63e747d510 Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期二, 13 十二月 2022 17:14:55 +0800
Subject: [PATCH] fix: 实时视频去不为null的值
---
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