瀏覽代碼

代码调整

wangliang 11 月之前
父節點
當前提交
4ad8b523ea
共有 1 個文件被更改,包括 11 次插入1 次删除
  1. 11 1
      distributed-print-business/src/main/resources/mapper/ExamTaskMapper.xml

+ 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 != ''">