fuliqi
2024-06-28 49132500e04ccca2100f181b523fcdf1202e7334
src/main/resources/mapper/ExamPaperScoreDetailMapper.xml
@@ -74,13 +74,13 @@
    <select id="selectCountByDate" resultType="com.ycl.jxkg.domain.other.KeyValue">
        SELECT create_time as name, COUNT(create_time) as value
        SELECT answer_time as name, sum(question_count) as value
        from
            (
            SELECT DATE_FORMAT(create_time, '%Y-%m-%d') as create_time from t_exam_paper_question_customer_answer
            WHERE create_time between #{startTime} and #{endTime}
            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}
            ) a
        GROUP BY create_time
        GROUP BY answer_time
    </select>
    <update id="updateScore" parameterType="java.util.List">