From b593835197b1d409823390d1087de6beddb1982e Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Thu, 08 Jan 2026 10:36:00 +0800
Subject: [PATCH] fix(ai): 更新AI陪练连续对话应用ID
---
src/main/resources/mapper/modules/AiMemberAnswerMapper.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/modules/AiMemberAnswerMapper.xml b/src/main/resources/mapper/modules/AiMemberAnswerMapper.xml
index 03afeb3..5e1eb1c 100644
--- a/src/main/resources/mapper/modules/AiMemberAnswerMapper.xml
+++ b/src/main/resources/mapper/modules/AiMemberAnswerMapper.xml
@@ -38,8 +38,8 @@
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
+ and a.product_id = #{record.productId}
and a.company_id = #{record.companyId}
- group by a.product_id
order by a.CREATED_TIME desc
</select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1