From 1d3134d07c0351bdcc35e58a585c6d6e78571a94 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期五, 08 三月 2024 17:39:15 +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 |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/cloud-server-management/src/main/resources/mapper/TStoreMapper.xml b/cloud-server-management/src/main/resources/mapper/TStoreMapper.xml
index 3dae29d..0fbec6a 100644
--- a/cloud-server-management/src/main/resources/mapper/TStoreMapper.xml
+++ b/cloud-server-management/src/main/resources/mapper/TStoreMapper.xml
@@ -36,7 +36,9 @@
 
     <select id="listAll" resultType="com.dsh.guns.modular.system.model.TStoreListVo">
         select t1.*,t2.name userName,t2.phone userPhone,t3.name yysName
-        from t_store t1 left join sys_user t2 on t1.storeStaffId = t2.id left  join t_operator t3 on t1.operatorId = t3.id
+        from t_store t1
+        left join sys_user t2 on t1.storeStaffId = t2.id
+        left  join t_operator t3 on t1.operatorId = t3.id
         where 1=1
         <if test="provinceCode !=null and provinceCode !=''">
             and t1.provinceCode = #{provinceCode}
@@ -175,7 +177,7 @@
         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
+        where t1.state=1 and t2.state=1 and t1.isCanBeBooked = 1 and t1.reservation=1
         <if test="provinceCode != null and provinceCode!=''">
             and t1.provinceCode = #{provinceCode}
         </if>

--
Gitblit v1.7.1