From 3dfef503c7f5151859839c3199e7f4b63ff50c0c Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: 星期二, 24 十二月 2024 13:05:11 +0800
Subject: [PATCH] 修改

---
 exam-system/src/main/resources/mapper/institutionaccess/ThExamRecordMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/exam-system/src/main/resources/mapper/institutionaccess/ThExamRecordMapper.xml b/exam-system/src/main/resources/mapper/institutionaccess/ThExamRecordMapper.xml
index 742be6c..c373aa4 100644
--- a/exam-system/src/main/resources/mapper/institutionaccess/ThExamRecordMapper.xml
+++ b/exam-system/src/main/resources/mapper/institutionaccess/ThExamRecordMapper.xml
@@ -49,7 +49,7 @@
     <select id="getStatistic" resultType="com.gkhy.exam.institutionalaccess.model.vo.ThTrainVO">
         SELECT
         e.institution_id,
-        count( e.institution_id ) passCount
+        count(DISTINCT e.idcard) passCount
         FROM
         th_exam_record e
         LEFT JOIN th_batch b ON e.batch_uuid = b.uuid

--
Gitblit v1.9.2