|
@@ -62,7 +62,7 @@
|
|
|
<if test="dto.classId != null and dto.classId != ''">
|
|
|
and t1.class_id = #{dto.classId}
|
|
|
</if>
|
|
|
- <if test="dto.exceptCourseList != null">
|
|
|
+ <if test="dto.exceptCourseList != null and dto.exceptCourseList.size > 0">
|
|
|
AND t1.id not in
|
|
|
<foreach item="courseId" collection="dto.exceptCourseList" open="(" separator="," close=")">
|
|
|
#{courseId}
|