From f5b6a8dda685c6108eee899824765d5df146ebc4 Mon Sep 17 00:00:00 2001 From: Administrator <15274802129@163.com> Date: Mon, 21 Jul 2025 15:00:52 +0800 Subject: [PATCH] refactor(clothesType):移除订单列表中的打印预览功能 --- src/main/java/cc/mrbird/febs/mall/service/impl/ApiClothesSocialServiceImpl.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 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 de57410..5751a44 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 @@ -66,6 +66,10 @@ @Override public FebsResponse allCategory() { List<ApiClothesCategoryInfoVo> vos = new ArrayList<>(); + ApiClothesCategoryInfoVo apiClothesCategoryInfoVo = new ApiClothesCategoryInfoVo(); + apiClothesCategoryInfoVo.setId(0L); + apiClothesCategoryInfoVo.setName("全部"); + vos.add(apiClothesCategoryInfoVo); List<ClothesSocialCategory> list = clothesSocialCategoryMapper.selectList( Wrappers.lambdaQuery(ClothesSocialCategory.class) .select(ClothesSocialCategory::getId, ClothesSocialCategory::getName) @@ -76,10 +80,6 @@ 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); } -- Gitblit v1.9.1