From 2fcfbcefee1a6ad5b51e23223ebe77093b847c3a Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Thu, 30 Oct 2025 14:45:53 +0800
Subject: [PATCH] feat(ai):优化对话流初始化逻辑 - 调整对话记录查询顺序,确保获取最新进行中的对话 - 在对话不存在时创建新对话并初始化问题 - 若对话已存在,则查询最近的对话项作为标题来源 - 修复可能因查询顺序导致的标题加载异常问题
---
src/main/java/cc/mrbird/febs/mall/service/ClothesTypeService.java | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++----
1 files changed, 54 insertions(+), 4 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/mall/service/ClothesTypeService.java b/src/main/java/cc/mrbird/febs/mall/service/ClothesTypeService.java
index 1986c27..860a69c 100644
--- a/src/main/java/cc/mrbird/febs/mall/service/ClothesTypeService.java
+++ b/src/main/java/cc/mrbird/febs/mall/service/ClothesTypeService.java
@@ -2,12 +2,15 @@
import cc.mrbird.febs.common.entity.FebsResponse;
import cc.mrbird.febs.common.entity.QueryRequest;
-import cc.mrbird.febs.mall.dto.clothes.AdminClothesDeliverGoodsDto;
-import cc.mrbird.febs.mall.dto.clothes.AdminClothesOrderListDto;
-import cc.mrbird.febs.mall.dto.clothes.AdminClothesRefundOrderDto;
-import cc.mrbird.febs.mall.dto.clothes.AdminClothesTypeInfoDto;
+import cc.mrbird.febs.mall.dto.AdminHappyActivityCategoryDto;
+import cc.mrbird.febs.mall.dto.activity.AdminCategoryAddDto;
+import cc.mrbird.febs.mall.dto.activity.AdminCategoryUpdateDto;
+import cc.mrbird.febs.mall.dto.clothes.*;
import cc.mrbird.febs.mall.entity.*;
import cc.mrbird.febs.mall.vo.clothes.AdminClothesOrderListVo;
+import cc.mrbird.febs.mall.vo.clothes.AdminClothesPrintOrderVo;
+import cc.mrbird.febs.mall.vo.clothes.AdminClothesSocialCommentVo;
+import cc.mrbird.febs.mall.vo.clothes.AdminClothesSocialListVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
@@ -79,4 +82,51 @@
void exportOrderList(List<Long> list, HttpServletResponse response) throws IOException;
void deliverGoodsImport(AdminClothesDeliverGoodsDto dto);
+
+ IPage<AdminClothesSocialListVo> getSocialListInPage(AdminClothesSocialListDto dto, QueryRequest request);
+
+ IPage<AdminClothesSocialCommentVo> socialComment(ClothesSocialComment dto, QueryRequest request);
+
+ FebsResponse socialState(Long id, Integer state);
+
+ FebsResponse commentStateSwitch(Long id, Integer state);
+
+ FebsResponse showStateSwitch(Long id, Integer state);
+
+ FebsResponse socialHotState(Long id, Integer state);
+
+ FebsResponse socialDelete(Long id);
+
+ List<ClothesSocialCategory> allGroup();
+
+ IPage<ClothesSocialCategory> getGroupList(AdminClothesSocialCategoryDto dto, QueryRequest request);
+
+ FebsResponse addGroup(AdminClothesCategoryAddDto dto);
+
+ FebsResponse groupDelete(Long id);
+
+ FebsResponse groupUpdate(AdminClothesCategoryUpdateDto dto);
+
+ FebsResponse groupState(Long id, Integer type);
+
+ FebsResponse socialAdd(ClothesSocial dto);
+
+ FebsResponse socialUpdate(ClothesSocial dto);
+
+ List<ClothesType> allType();
+
+ List<ClothesCloth> allCloth(Long typeId);
+
+ List<ClothesPattern> allPattern(Long typeId);
+
+ List<ClothesLocation> allLocation(Long typeId);
+
+ List<ClothesSize> allSize(Long typeId);
+
+ List<ClothesArt> allArt(Long typeId);
+
+ FebsResponse socialMuseUpdate(ClothesSocialMuse dto);
+
+ FebsResponse printOrder(AdminClothesPrintOrderDto dto);
+ AdminClothesPrintOrderVo printOrderEvent(AdminClothesPrintOrderDto dto);
}
--
Gitblit v1.9.1