wangliang 1 年之前
父节点
当前提交
11c3c49599
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

+ 2 - 2
themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

@@ -1921,10 +1921,10 @@
         left join t_e_exam_student tees on tees.id = t.exam_student_id
         left join t_e_exam_student tees on tees.id = t.exam_student_id
         <where> 1 = 1
         <where> 1 = 1
             <if test="examId != null and examId != ''">
             <if test="examId != null and examId != ''">
-                and t.id = #{examId}
+                and t.exam_id = #{examId}
             </if>
             </if>
             <if test="examActivityId != null and examActivityId != ''">
             <if test="examActivityId != null and examActivityId != ''">
-                and t.id = #{examActivityId}
+                and t.exam_activity_id = #{examActivityId}
             </if>
             </if>
             <if test="roomCode != null and roomCode != ''">
             <if test="roomCode != null and roomCode != ''">
                 and tees.room_code = #{roomCode}
                 and tees.room_code = #{roomCode}