Просмотр исходного кода

新增查询测验声部接口

zouxuan 2 лет назад
Родитель
Сommit
2ee9001e0d

+ 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>