فهرست منبع

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

dzx 4 ماه پیش
والد
کامیت
79c15b2da6
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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>