|
@@ -172,6 +172,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="className != null and className !='' ">
|
|
|
AND g.class_name like concat('%', #{className}, '%')
|
|
|
</if>
|
|
|
+ <if test="atFull != null and at 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 ">
|
|
|
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>
|