From 4888ef96061e19769427bf52b0a644da7910331e Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Fri, 18 Jul 2025 16:31:56 +0800
Subject: [PATCH] feat(clothes): 添加服装打印相关功能

---
 src/main/java/cc/mrbird/febs/mall/service/impl/ApiClothesSocialServiceImpl.java |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/main/java/cc/mrbird/febs/mall/service/impl/ApiClothesSocialServiceImpl.java b/src/main/java/cc/mrbird/febs/mall/service/impl/ApiClothesSocialServiceImpl.java
index 50cfea8..de57410 100644
--- a/src/main/java/cc/mrbird/febs/mall/service/impl/ApiClothesSocialServiceImpl.java
+++ b/src/main/java/cc/mrbird/febs/mall/service/impl/ApiClothesSocialServiceImpl.java
@@ -76,6 +76,11 @@
         if(CollUtil.isNotEmpty(list)){
             vos = buildApiClothesCategoryInfoVo(list, vos);
         }
+        ApiClothesCategoryInfoVo apiClothesCategoryInfoVo = new ApiClothesCategoryInfoVo();
+        apiClothesCategoryInfoVo.setId(0L);
+        apiClothesCategoryInfoVo.setName("全部");
+        vos.add(apiClothesCategoryInfoVo);
+
         return new FebsResponse().success().data(vos);
     }
 
@@ -325,7 +330,7 @@
 
         List<ClothesLocationRemark> clothesLocationRemarks = new ArrayList<>();
         List<ClothesPatternRemark> clothesPatternRemarks = new ArrayList<>();
-        if(CollUtil.isEmpty(clothesOrderItems)){
+        if(CollUtil.isNotEmpty(clothesOrderItems)){
             for (ClothesOrderItem item : clothesOrderItems){
                 if (ClothesOrderItemEnum.CLOTH.getCode() == item.getType()) {
                     ClothesCloth cloth = clothesClothMapper.selectById(item.getItemId());

--
Gitblit v1.9.1