|
@@ -184,7 +184,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="atFull != null and atFull !='' ">
|
|
|
AND (SELECT COUNT(a.id) FROM class_grade_user a where a.grade_id = g.grade_id and a.status =1) < g.student_upper
|
|
|
</if>
|
|
|
- <if test="classStartTime != null or classEndTime != null ">
|
|
|
+ <if test="classStartTime != null and classStartTime != '' and classEndTime != null and classEndTime != ''">
|
|
|
AND (#{classStartTime} BETWEEN g.class_start_time and g.class_end_time or #{classEndTime} BETWEEN g.class_start_time and g.class_end_time)
|
|
|
</if>
|
|
|
<if test="pastDue != null or pastDue != null ">
|