Browse Source

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

dzx 4 tháng trước cách đây
mục cha
commit
79c15b2da6
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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>