소스 검색

新增查询测验声部接口

zouxuan 2 년 전
부모
커밋
2ee9001e0d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/StudentLessonExaminationMapper.xml

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/StudentLessonExaminationMapper.xml

@@ -94,7 +94,7 @@
         left join subject sb ON sb.id_ = sle.subject_id_
         where sle.lesson_examination_id_ = #{lessonExaminationId}
         <if test="subjectId != null">
-            sle.subject_id_ = #{subjectId}
+            AND sle.subject_id_ = #{subjectId}
         </if>
         ORDER BY sle.training_score_ DESC
     </select>