wangliang 1 рік тому
батько
коміт
8576d4368c

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

@@ -162,7 +162,7 @@
     </select>
 
     <select id="invigilatePagePatrolList" resultType="com.qmth.themis.business.bean.admin.InvigilateListPatrolBean">
-        select distinct s.exam_id as examId,
+        select s.exam_id as examId,
         tee.name as examName,
         s.exam_activity_id as examActivityId,
         teea.code as examActivityCode,
@@ -216,7 +216,7 @@
             and tee.org_id = #{orgId}
         </if>
         <if test="examActivityId != null and examActivityId != ''">
-            and s.exam_activity_id = #{examActivityId}
+            and toer.exam_activity_id = #{examActivityId}
         </if>
         <if test="roomCode != null and roomCode != ''">
             and s.room_code = #{roomCode}
@@ -406,8 +406,7 @@
     </update>
 
     <select id="invigilatePageProgressList" resultType="com.qmth.themis.business.bean.admin.InvigilateListProgressBean">
-        select
-        distinct tee.id as examId,
+        select tee.id as examId,
         tee.name as examName,
         teea.id as examActivityId,
         teea.code as examActivityCode,