wangliang 1 год назад
Родитель
Сommit
a69baf49ac
1 измененных файлов с 1 добавлено и 1 удалено
  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 != ''">