소스 검색

bug修复

wangliang 1 년 전
부모
커밋
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 != ''">