From dea17a8b0b17414235ea2eedf0df44c33ecb1282 Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期二, 29 十一月 2022 15:02:02 +0800
Subject: [PATCH] fix: 消息发送人未添加
---
ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml | 24 ++++++++++++++++++++++++
1 files changed, 24 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 7635344..740b16c 100644
--- a/ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml
@@ -227,4 +227,28 @@
</where>
</select>
+
+ <select id="selectVideoInspection" resultType="com.ycl.vo.casePool.BaseCaseVO">
+ SELECT
+ t1.`code`,
+ t3.`name`,
+ t3.url_address,
+ t3.longitude,
+ t3.latitude,
+ t4.pic_data,
+ t5.`name` as grade,
+ t6.`name` as street,
+ t7.`name` as community,
+ t1.alarm_time as alarmTime
+ FROM
+ ums_base_case t1
+ LEFT JOIN ums_violations t2 ON t1.id = t2.id
+ LEFT JOIN ums_video_point t3 on t2.video_point_id=t3.id
+ LEFT JOIN ums_video_alarm_report t4 on t4.id=t2.video_alarm_report_id
+ LEFT JOIN ums_data_dictionary t5 on t5.id=t2.grade_id
+ LEFT JOIN ums_data_dictionary t6 on t6.id=t1.street_id
+ LEFT JOIN ums_data_dictionary t7 on t7.id=t1.community_id
+ WHERE t1.state=1
+ group by t1.id
+ </select>
</mapper>
\ No newline at end of file
--
Gitblit v1.8.0