From f236a24c5766fb524a4dadc44a0f7b6ae288141c Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Tue, 21 Apr 2026 13:44:43 +0800
Subject: [PATCH] fix(ai): 修正产品分类和产品的排序逻辑,排序从升序改为降序
---
src/main/resources/mapper/modules/AiMemberAnswerItemMapper.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/modules/AiMemberAnswerItemMapper.xml b/src/main/resources/mapper/modules/AiMemberAnswerItemMapper.xml
index b963691..d82b7af 100644
--- a/src/main/resources/mapper/modules/AiMemberAnswerItemMapper.xml
+++ b/src/main/resources/mapper/modules/AiMemberAnswerItemMapper.xml
@@ -13,7 +13,6 @@
from ai_member_answer_item a
where
a.answer_id = #{record.memberAnswerId}
- and a.member_answer_state != 0
order by a.CREATED_TIME desc
</select>
@@ -23,6 +22,7 @@
a.difficulty as difficulty,
a.member_answer_question_id as memberAnswerQuestionId,
a.answer_analysis as answerAnalysis,
+ a.CREATED_TIME as createdTime,
a.product_question_id as productQuestionId
from ai_member_answer_item a
where
--
Gitblit v1.9.1