From e2cd97ab844ef42829ab326d8bacceb2933cdc3f Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Tue, 21 Oct 2025 15:28:13 +0800
Subject: [PATCH] fix(ai):修复会员答题记录创建时间字段错误 - 将会员答题记录的创建时间字段从createdTime更正为updatedTim - 确保答题记录时间戳反映最新更新时间而非初始创建时间
---
src/main/resources/mapper/modules/AiMemberAnswerMapper.xml | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/modules/AiMemberAnswerMapper.xml b/src/main/resources/mapper/modules/AiMemberAnswerMapper.xml
index 22d1d20..f08407c 100644
--- a/src/main/resources/mapper/modules/AiMemberAnswerMapper.xml
+++ b/src/main/resources/mapper/modules/AiMemberAnswerMapper.xml
@@ -30,13 +30,15 @@
<select id="getAnswerPage" resultType="cc.mrbird.febs.ai.res.member.ApiMemberAnswerPageVo">
select
a.id as id,
+ a.score as score,
+ a.CREATED_TIME as createdTime,
b.name as name,
b.target as target
from ai_member_answer a
left join ai_product b on a.product_id = b.id and b.state = 1
where a.member_id = #{record.memberUuid}
and a.state = 1
- group by a.product_id
+ and a.company_id = #{record.companyId}
order by a.CREATED_TIME desc
</select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1