wangliang 11 сар өмнө
parent
commit
4ad8b523ea

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

@@ -1477,7 +1477,17 @@
                     </foreach>
                 </if>
             </if>
-        </where>) t
+        </where>
+        group by
+        mp.id,
+        bc.name,
+        bc.code,
+        mp.paper_number,
+        etd.paper_attachment_ids,
+        mp.student_count,
+        ms.sheet_count,
+        mp.absent_count,
+        ms.is_upload) t
         left join exam_card ec on ec.id = t.cardId
         <where>
             <if test="cardType != null and cardType != ''">