Pārlūkot izejas kodu

调课顶课课程查询,不包含已完整或者正在进行中的调课和顶课

dzx 4 mēneši atpakaļ
vecāks
revīzija
79c15b2da6

+ 2 - 2
src/main/resources/mapper/courseTable/CourseTable.xml

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