Эх сурвалжийг харах

评卷参数设置加入distinct

wangliang 2 жил өмнө
parent
commit
17b230bc25

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

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