wangliang 1 vuosi sitten
vanhempi
commit
a69baf49ac
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      themis-business/src/main/resources/mapper/TEExamMapper.xml

+ 1 - 1
themis-business/src/main/resources/mapper/TEExamMapper.xml

@@ -186,7 +186,7 @@
     </select>
 
     <select id="examPrivilegeQuery" resultType="com.qmth.themis.business.entity.TEExam">
-        select * from t_e_exam tee
+        select distinct tee.* from t_e_exam tee
         left join t_b_exam_invigilate_user tbeiu on tee.id = tbeiu.exam_id
         <where> 1 = 1
             <if test="userId != null and userId != ''">