From ec00cb3e936147ae1c080cbb5d723ef368a3d2da Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Fri, 10 Oct 2025 16:51:02 +0800
Subject: [PATCH] fix(mapper): 调整对话记录查询条件 - 移除了AiMemberTalkItemMapper中对state=1的限制 - 在AiMemberTalkMapper中增加了state=1的过滤条件 - 优化了对话记录的查询逻辑,确保数据准确性 - 统一了前后端对于对话状态的处理方式 - 提高了查询效率,减少了不必要的数据加载 - 保证了对话列表按创建时间倒序排列的正确性
---
src/main/java/cc/mrbird/febs/mall/controller/clothes/ApiClothesController.java | 21 ++++++++++++++++++---
1 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/mall/controller/clothes/ApiClothesController.java b/src/main/java/cc/mrbird/febs/mall/controller/clothes/ApiClothesController.java
index 83595a3..12fd860 100644
--- a/src/main/java/cc/mrbird/febs/mall/controller/clothes/ApiClothesController.java
+++ b/src/main/java/cc/mrbird/febs/mall/controller/clothes/ApiClothesController.java
@@ -56,7 +56,7 @@
return clothesService.clothList(dto);
}
- @ApiOperation(value = "图案列表", notes = "图案列表")
+ @ApiOperation(value = "正面图案列表", notes = "图案列表")
@ApiResponses({
@ApiResponse(code = 200, message = "success", response = ApiClothesPatternVo.class)
})
@@ -76,7 +76,7 @@
return clothesService.sizeList(dto);
}
- @ApiOperation(value = "位置列表", notes = "位置列表")
+ @ApiOperation(value = "反面图案列表", notes = "反面图案列表")
@ApiResponses({
@ApiResponse(code = 200, message = "success", response = ApiClothesLocationVo.class)
})
@@ -123,11 +123,18 @@
return clothesService.statureInfo(dto);
}
- @ApiOperation(value = "身材数据-详情", notes = "身材数据-详情")
+ @ApiOperation(value = "身材数据-保存", notes = "身材数据-保存")
@PostMapping(value = "/statureUpdate")
public FebsResponse statureUpdate(@RequestBody @Validated ApiClothesMemberStatureUpdateDto dto) {
return clothesService.statureUpdate(dto);
+ }
+
+ @ApiOperation(value = "身材数据-设置默认", notes = "身材数据-设置默认")
+ @PostMapping(value = "/statureUpdateState")
+ public FebsResponse statureUpdateState(@RequestBody @Validated ApiClothesMemberStatureUpdateStateDto dto) {
+
+ return clothesService.statureUpdateState(dto);
}
@ApiOperation(value = "身材数据-删除", notes = "身材数据-删除")
@@ -146,4 +153,12 @@
return clothesService.draftSave(dto);
}
+
+
+ @ApiOperation(value = "获取草稿角标数量")
+ @GetMapping(value = "/findDraftCnt")
+ public FebsResponse findDraftCnt() {
+
+ return clothesService.findDraftCnt();
+ }
}
--
Gitblit v1.9.1