From a2ca8c0889a39ebd83195d5d2ebe8e2ed20b16d5 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期三, 06 三月 2024 17:03:56 +0800
Subject: [PATCH] Merge branch '2.0' of http://120.76.84.145:10101/gitblit/r/java/PlayPai into 2.0

---
 cloud-server-management/src/main/resources/mapper/TStoreMapper.xml |   19 +++++++++++++++++++
 1 files changed, 19 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 24ef43b..3dae29d 100644
--- a/cloud-server-management/src/main/resources/mapper/TStoreMapper.xml
+++ b/cloud-server-management/src/main/resources/mapper/TStoreMapper.xml
@@ -171,6 +171,25 @@
             and t1.name like concat("%",#{shopName},"%")
         </if>
     </select>
+    <select id="querySiteListOfpage" resultType="java.util.Map">
+        SELECT t1.id, t1.operatorId, t1.province, t1.city, t2.name,t1.ids,t1.name as siteName
+        from t_site t1
+        left join t_store t2 on t1.storeId =t2.id
+        where t1.state=1 and t2.state=1
+        <if test="provinceCode != null and provinceCode!=''">
+            and t1.provinceCode = #{provinceCode}
+        </if>
+        <if test="cityCode != null and cityCode!=''">
+            and t1.cityCode = #{cityCode}
+        </if>
+        <if test="operatorId != null and operatorId!=''">
+            and t1.operatorId = #{operatorId}
+        </if>
+        <if test="storeName != null and storeName != ''">
+            and t1.name like CONCAT('%',#{storeName},'%')
+        </if>
+
+    </select>
 
 
 

--
Gitblit v1.7.1