From d03ef8779645bdcc106d99d34b2720bd0e59ddd6 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 03 九月 2024 22:40:42 +0800
Subject: [PATCH] 视频mongo重构
---
ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml
index 70e0166..5be7391 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml
@@ -163,4 +163,22 @@
LIMIT 1
</select>
+ <select id="getDeptPointGB" resultType="string">
+ SELECT
+ DISTINCT serial_number
+ FROM
+ t_yw_point
+ WHERE
+ <if test="tagType == 0">
+ dept_tag = 1
+ </if>
+ <if test="tagType == 1">
+ important_tag = 1
+ </if>
+ <if test="tagType == 2">
+ important_command_image_tag = 1
+ </if>
+ AND deleted = 0
+ </select>
+
</mapper>
--
Gitblit v1.8.0