|
|
|
@ -147,9 +147,11 @@ |
|
|
|
|
t1.start_time as startTime, |
|
|
|
|
t1.end_time as endTime, |
|
|
|
|
t1.reserve_count AS reservableQuantity, |
|
|
|
|
t2.can_reserve_day_number as canReserveDayNumber |
|
|
|
|
t2.can_reserve_day_number as canReserveDayNumber, |
|
|
|
|
t3.external_id as externalId |
|
|
|
|
FROM ybsj_appointment_time_info t1 |
|
|
|
|
LEFT JOIN ybsj_appointment_setting t2 on t1.appointment_settings_id = t2.id and t2.state = 0 |
|
|
|
|
LEFT join ybsj_scenic_info t3 on t1.appointment_settings_id =t3.guid |
|
|
|
|
WHERE t2.scenic_id = #{scenicId} |
|
|
|
|
and t1.use_date LIKE CONCAT('%', #{whichDay}, '%') |
|
|
|
|
and t1.unavailable_date NOT LIKE CONCAT('%', #{date}, '%') |
|
|
|
|