소스 검색

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 != ''">