浏览代码

add:第八次教研分析更改(不同考试同课程编号查询bug)

caozixuan 11 月之前
父节点
当前提交
954d30db94
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      teachcloud-report-business/src/main/resources/mapper/TBExamCourseMapper.xml

+ 1 - 1
teachcloud-report-business/src/main/resources/mapper/TBExamCourseMapper.xml

@@ -17,7 +17,7 @@
         </choose>
         <if test="filter != null and filter == true">
             join t_b_exam_course tbec on
-            tbec.course_code = bc.code
+            tbec.course_code = bc.code AND tbec.exam_id = tbs.exam_id
         </if>
         <where>
             <if test="examId != null and examId != ''">