@@ -1477,7 +1477,17 @@
</foreach>
</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 != ''">