|
@@ -741,7 +741,7 @@
|
|
|
</select>
|
|
|
<select id="getCourseTimeError" resultType="int">
|
|
|
SELECT COUNT(cs.id_) FROM course_schedule cs
|
|
|
- WHERE cs.status_ = 'NOT_START' AND cs.del_flag_ = 0 AND cs.start_class_time_ < '06:00:00'
|
|
|
+ WHERE cs.status_ = 'NOT_START' AND cs.del_flag_ = 0 AND cs.is_lock_ = 0 AND cs.start_class_time_ < '06:00:00'
|
|
|
AND (cs.new_course_id_ IS NULL OR cs.new_course_id_=cs.id_)
|
|
|
<if test="organIds != null and organIds.size()>0">
|
|
|
AND cs.organ_id_ IN
|