Преглед на файлове

监考考试批次查询

wangliang преди 1 година
родител
ревизия
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}