From 00092d0c03b3fec006734e2211fa04c8a0e04b36 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期四, 29 六月 2023 09:35:24 +0800
Subject: [PATCH] 1

---
 src/main/resources/mapper/show/OneMapMapper.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/show/OneMapMapper.xml b/src/main/resources/mapper/show/OneMapMapper.xml
index 3803030..88c2c39 100644
--- a/src/main/resources/mapper/show/OneMapMapper.xml
+++ b/src/main/resources/mapper/show/OneMapMapper.xml
@@ -128,7 +128,9 @@
     <select id="countProjectTour" resultType="java.util.Map">
         SELECT st_astext(geom) AS wkt,* FROM bs.m_pipeline
         <where>
-            <if test="pipename != null  and pipename != ''"> and pipename = #{pipename}</if>
+            <if test="pipename != null and pipename != ''">
+                pipename = #{pipename}
+            </if>
         </where>
     </select>
 

--
Gitblit v1.9.3