fix教练冲突
This commit is contained in:
@@ -425,9 +425,9 @@
|
|||||||
SELECT count(0) FROM sv_venue_lesson
|
SELECT count(0) FROM sv_venue_lesson
|
||||||
WHERE
|
WHERE
|
||||||
(
|
(
|
||||||
(<![CDATA[ start_time <= #{startTime}]]> and end_time >= #{startTime})
|
(<![CDATA[ start_time < #{startTime}]]> and end_time > #{startTime})
|
||||||
or
|
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}
|
and deleted = 0 and coach_id = #{coachId} and `date` = #{date}
|
||||||
<if test="lessonId != null">
|
<if test="lessonId != null">
|
||||||
|
|||||||
Reference in New Issue
Block a user