From 1f9d05fd255fbd21356dad37527c7d33fda4fb8b Mon Sep 17 00:00:00 2001
From: liujie <liujie>
Date: 星期五, 04 八月 2023 17:03:42 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 cloud-server-management/src/main/resources/mapper/TStoreMapper.xml |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/cloud-server-management/src/main/resources/mapper/TStoreMapper.xml b/cloud-server-management/src/main/resources/mapper/TStoreMapper.xml
index 131ad0c..0dd0a94 100644
--- a/cloud-server-management/src/main/resources/mapper/TStoreMapper.xml
+++ b/cloud-server-management/src/main/resources/mapper/TStoreMapper.xml
@@ -41,4 +41,21 @@
         group by cityCode
         ) as aa order by aa.code
     </select>
+    <select id="queryListOfpage" resultType="java.util.Map">
+        SELECT id, cityManagerId, province, city, `name`
+        from t_store
+        where 1=1
+        <if test="provinceCode != null">
+            and provinceCode = #{provinceCode}
+        </if>
+        <if test="cityCode != null">
+            and cityCode = #{cityCode}
+        </if>
+        <if test="cityManagerId != null">
+            and cityManagerId = #{cityManagerId}
+        </if>
+        <if test="storeName != null and storeName != ' '">
+            and `name` like CONCAT('%',#{storeName},'%')
+        </if>
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.7.1