From 8febea78af8515def606491b3373c16db7d54941 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期三, 25 九月 2024 18:34:49 +0800
Subject: [PATCH] 数据中心部级标签查询条件

---
 ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml |    4 ++++
 1 files changed, 4 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 ce49da5..7a35194 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml
@@ -110,6 +110,9 @@
             <if test="query.dataType == 1">
                 AND p.province_tag = 1
             </if>
+            <if test="query.dataType == 2">
+                AND p.dept_tag = 1
+            </if>
             <choose>
                 <when test="query.deptTag == 1">
                     AND dept_tag = 1
@@ -151,6 +154,7 @@
                                                         FROM sys_config
                                                         WHERE config_key = 'operation.and.maintenance.expiration.warning.time')
         ORDER BY end_time
+        limit 50
         ]]>
     </select>
 

--
Gitblit v1.8.0