From f13f64d20394f50671f72f62cedad615b834df6d Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Mon, 21 Jul 2025 09:50:24 +0800
Subject: [PATCH] ci: 关闭 SQL 日志输出

---
 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