Explorar el Código

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

dzx hace 1 año
padre
commit
79c15b2da6
Se han modificado 1 ficheros con 2 adiciones y 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>