From a364bbbe17f281dd52af550886e06afd79034853 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Tue, 13 Jan 2026 10:09:06 +0800
Subject: [PATCH] fix(ai): 修复学习列表查询条件并启用测试环境SQL日志
---
src/main/resources/mapper/modules/AiMemberAnswerMapper.xml | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/mapper/modules/AiMemberAnswerMapper.xml b/src/main/resources/mapper/modules/AiMemberAnswerMapper.xml
index 992df16..fe38bd7 100644
--- a/src/main/resources/mapper/modules/AiMemberAnswerMapper.xml
+++ b/src/main/resources/mapper/modules/AiMemberAnswerMapper.xml
@@ -52,8 +52,7 @@
a.target as target
from ai_member_answer b
left join ai_product a on b.product_id = a.id and a.state = 1
- where b.member_id = #{record.memberUuid}
- and b.company_id = #{record.companyId}
+ where b.company_id = #{record.companyId}
and b.state = 1
group by b.product_id
order by b.CREATED_TIME desc
--
Gitblit v1.9.1