From 7e7f901b2172281dc294dfbc67e6ad00625f09f4 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期一, 04 三月 2024 10:11:21 +0800
Subject: [PATCH] 合并代码

---
 cloud-server-other/src/main/resources/mapper/SiteMapper.xml |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/cloud-server-other/src/main/resources/mapper/SiteMapper.xml b/cloud-server-other/src/main/resources/mapper/SiteMapper.xml
index 8a54140..d87e266 100644
--- a/cloud-server-other/src/main/resources/mapper/SiteMapper.xml
+++ b/cloud-server-other/src/main/resources/mapper/SiteMapper.xml
@@ -28,7 +28,7 @@
         from t_site a
         left join t_store b on (a.storeId = b.id)
         left join t_site_type c on (a.siteTypeId = c.id)
-        where a.state = 1
+        where a.state = 1 and a.isCanBeBooked = 1
         <if test="null != item.startTime and '' != item.startTime and null != item.endTime and '' != item.endTime">
             and CONCAT(DATE_FORMAT(now(), '%Y-%m-%d'), ' ', a.appointmentStartTime) &lt;= CONCAT(DATE_FORMAT(now(),
             '%Y-%m-%d'), ' ', #{item.startTime}) and CONCAT(DATE_FORMAT(now(), '%Y-%m-%d'), ' ', a.appointmentEndTime)
@@ -141,4 +141,7 @@
 
         ORDER BY insertTime desc
     </select>
+    <select id="getSMIDByOperatorId" resultType="java.lang.String">
+        select alipayNum from t_operator_user where operatorId = #{id}
+    </select>
 </mapper>

--
Gitblit v1.7.1