From 78045ae6ac90cf5559922bca10f7f6e84fef5ff7 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Tue, 21 Oct 2025 14:04:15 +0800
Subject: [PATCH] feat(ai): 新增AI陪练分页查询功能

---
 src/main/resources/mapper/modules/AiMemberAnswerMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/modules/AiMemberAnswerMapper.xml b/src/main/resources/mapper/modules/AiMemberAnswerMapper.xml
index 659582b..03afeb3 100644
--- a/src/main/resources/mapper/modules/AiMemberAnswerMapper.xml
+++ b/src/main/resources/mapper/modules/AiMemberAnswerMapper.xml
@@ -38,6 +38,7 @@
         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.company_id = #{record.companyId}
         group by a.product_id
         order by a.CREATED_TIME desc
     </select>

--
Gitblit v1.9.1