From cb78ad5f3aa9436cf32ae74f07dd1a5d18b8f046 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Thu, 08 Jan 2026 13:44:41 +0800
Subject: [PATCH] refactor(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