From cd59ededbf05a0ae73b8f4944fbf40a1fb01d28a Mon Sep 17 00:00:00 2001
From: luohairen <3399054449@qq.com>
Date: 星期一, 11 十一月 2024 18:03:43 +0800
Subject: [PATCH] 错题详情

---
 src/main/resources/mapper/ExamPaperScoreDetailMapper.xml |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/resources/mapper/ExamPaperScoreDetailMapper.xml b/src/main/resources/mapper/ExamPaperScoreDetailMapper.xml
index 7aa7494..d2ee7d6 100644
--- a/src/main/resources/mapper/ExamPaperScoreDetailMapper.xml
+++ b/src/main/resources/mapper/ExamPaperScoreDetailMapper.xml
@@ -74,13 +74,13 @@
 
 
     <select id="selectCountByDate" resultType="com.ycl.jxkg.domain.other.KeyValue">
-        SELECT answer_time as name, sum(question_count) as value
+        SELECT submit_time as name, sum(question_count) as value
         from
             (
-            SELECT question_count ,DATE_FORMAT(answer_time, '%Y-%m-%d') as answer_time from t_exam_paper_score
-            WHERE answer_time between #{startTime} and #{endTime}
+            SELECT question_count ,DATE_FORMAT(submit_time, '%Y-%m-%d') as submit_time from t_exam_paper_score
+            WHERE submit_time between #{startTime} and #{endTime}
             ) a
-        GROUP BY answer_time
+        GROUP BY submit_time
     </select>
 
     <update id="updateScore" parameterType="java.util.List">

--
Gitblit v1.8.0