소스 검색

评卷参数设置加入distinct

wangliang 2 년 전
부모
커밋
17b230bc25
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      distributed-print-business/src/main/resources/mapper/ExamPaperStructureMapper.xml

+ 1 - 1
distributed-print-business/src/main/resources/mapper/ExamPaperStructureMapper.xml

@@ -4,7 +4,7 @@
     <select id="listByPropositionTeacherId"
             resultType="com.qmth.distributed.print.business.bean.dto.ExamPaperStructurePageDto">
         SELECT
-            eps.id,
+            distinct eps.id,
             ep.school_id schoolId,
             ep.exam_id examId,
             ep.third_relate_id thirdRelateId,