Browse Source

监考端接口

wangliang 4 years ago
parent
commit
cce72bfa7a

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

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