Selaa lähdekoodia

监考考试批次查询

wangliang 1 vuosi sitten
vanhempi
commit
4289a7fb6b

+ 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}