소스 검색

监考端接口

wangliang 4 년 전
부모
커밋
cce72bfa7a
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      themis-business/src/main/resources/mapper/TEExamActivityMapper.xml

+ 3 - 0
themis-business/src/main/resources/mapper/TEExamActivityMapper.xml

@@ -93,6 +93,9 @@
         from t_e_exam_activity teea
         left join t_e_exam tee on teea.exam_id = tee.id
         <where>
+            <if test="id != null and id != ''">
+                and teea.id = #{id}
+            </if>
             <if test="examId != null and examId != ''">
                 and teea.exam_id = #{examId}
             </if>