wangliang 1 год назад
Родитель
Сommit
4289a7fb6b
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

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

@@ -438,7 +438,7 @@
         </if>
         <where>1 = 1
             <if test="examId != null and examId != ''">
-                and tees.exam_id = #{examId}
+                and t.exam_id = #{examId}
             </if>
             <if test="userId != null and userId != ''">
                 and tbeiu.user_id = #{userId}
@@ -447,7 +447,7 @@
                 and tee.org_id = #{orgId}
             </if>
             <if test="examActivityId != null and examActivityId != ''">
-                and tees.exam_activity_id = #{examActivityId}
+                and t.exam_activity_id = #{examActivityId}
             </if>
             <if test="roomCode != null and roomCode != ''">
                 and tees.room_code = #{roomCode}
@@ -517,7 +517,7 @@
         </if>
         <where>1 = 1
             <if test="examId != null and examId != ''">
-                and tees.exam_id = #{examId}
+                and t.exam_id = #{examId}
             </if>
             <if test="userId != null and userId != ''">
                 and tbeiu.user_id = #{userId}
@@ -526,7 +526,7 @@
                 and tee.org_id = #{orgId}
             </if>
             <if test="examActivityId != null and examActivityId != ''">
-                and tees.exam_activity_id = #{examActivityId}
+                and t.exam_activity_id = #{examActivityId}
             </if>
             <if test="roomCode != null and roomCode != ''">
                 and tees.room_code = #{roomCode}