浏览代码

监考端接口

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>