fix教练冲突

This commit is contained in:
limqhz
2021-05-24 19:06:45 +08:00
parent b7c179457c
commit 299b94ebc0

View File

@@ -425,9 +425,9 @@
SELECT count(0) FROM sv_venue_lesson
WHERE
(
(<![CDATA[ start_time <= #{startTime}]]> and end_time >= #{startTime})
(<![CDATA[ start_time < #{startTime}]]> and end_time > #{startTime})
or
(<![CDATA[ start_time <= #{endTime}]]> and end_time >= #{endTime})
(<![CDATA[ start_time < #{endTime}]]> and end_time > #{endTime})
)
and deleted = 0 and coach_id = #{coachId} and `date` = #{date}
<if test="lessonId != null">