| | |
| | | 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) |