|
@@ -241,6 +241,11 @@
|
|
|
</resultMap>
|
|
|
<sql id="queryStatisticsSql">
|
|
|
<where>
|
|
|
+ AND ss.id_ NOT IN (SELECT id_ FROM student_statistics WHERE lately_year_course_consumer_ <= 0 AND no_schedule_num_ <= 0 AND sub_course_num_ <= 0
|
|
|
+ <if test="groupType != null and groupType != ''">
|
|
|
+ AND group_type_ = #{groupType}
|
|
|
+ </if>
|
|
|
+ )
|
|
|
<if test="search != null and search != ''">
|
|
|
AND (sbi.user_id_ = #{search} OR sbi.user_name_ LIKE CONCAT('%',#{search},'%'))
|
|
|
</if>
|