From 89f9b7d46346da4f9263d27f6ce20032b9458bd5 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期五, 25 八月 2023 11:10:56 +0800
Subject: [PATCH] 元数据管理添加空间过滤条件

---
 src/main/resources/mapper/data/MetaMapper.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/data/MetaMapper.xml b/src/main/resources/mapper/data/MetaMapper.xml
index c70b3eb..2bb5f6f 100644
--- a/src/main/resources/mapper/data/MetaMapper.xml
+++ b/src/main/resources/mapper/data/MetaMapper.xml
@@ -17,6 +17,9 @@
             <if test="name != null">
                 and upper(name) like #{name}
             </if>
+            <if test="wkt != null">
+                and ${wkt}
+            </if>
         </where>
     </select>
 
@@ -37,6 +40,9 @@
             <if test="name != null">
                 and upper(name) like #{name}
             </if>
+            <if test="wkt != null">
+                and ${wkt}
+            </if>
         </where>
         order by id desc
         limit #{limit} offset #{offset}

--
Gitblit v1.9.3