From 6a4df2a4101533fc3e6805eaccf2dd4c31550095 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Fri, 24 Oct 2025 17:11:10 +0800
Subject: [PATCH] fix(ai):修正产品依赖查询条件 - 将查询条件从大于等于改为小于等于 - 确保正确筛选出所需分数以下的产品依赖项
---
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