From 198153fd0e686392bc57bd4041c216e499c2de9c Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期三, 06 三月 2024 15:02:36 +0800 Subject: [PATCH] 11.27,9 --- 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 68abd26..6d269f4 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.reservation = 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