From 92961b33e531ae3f61ec908252081bfe679d3300 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期一, 04 十一月 2024 15:08:18 +0800
Subject: [PATCH] 考核积分导出

---
 ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml
index cd9b458..37499af 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml
@@ -358,5 +358,17 @@
         serial_number, province_tag, important_tag, important_command_image_tag, dept_tag
     </select>
 
-
+    <select id="selectToCount" resultType="com.ycl.platform.domain.vo.YwPointVO">
+        select p.* from t_yw_point p
+        left join t_monitor m on p.serial_number = m.serial_number
+        <where>
+            p.examine_status = 1 and m.camera_fun_type like concat('%',#{examineCategory},'%')
+            <if test="examineTag == 0">
+                and p.province_tag = 1
+            </if>
+            <if test="examineTag == 2">
+                and p.dept_tag = 1
+            </if>
+        </where>
+    </select>
 </mapper>

--
Gitblit v1.8.0