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-other/src/main/resources/mapper/SiteMapper.xml | 2 +- 1 files changed, 1 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 d87e266..6b4d3e7 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 and a.isCanBeBooked = 1 + where a.state = 1 and a.reservation = 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) <= CONCAT(DATE_FORMAT(now(), '%Y-%m-%d'), ' ', #{item.startTime}) and CONCAT(DATE_FORMAT(now(), '%Y-%m-%d'), ' ', a.appointmentEndTime) -- Gitblit v1.7.1