Explorar o código

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

dzx hai 1 ano
pai
achega
79c15b2da6
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/main/resources/mapper/courseTable/CourseTable.xml

+ 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>