From fe2d5b14031edbe43238770fb1fc21e8a322b51a Mon Sep 17 00:00:00 2001
From: rentaiming <806181062@qq.com>
Date: 星期四, 13 六月 2024 18:18:08 +0800
Subject: [PATCH] 用户端商品

---
 ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/service/impl/GoodsBrandServiceImpl.java |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/service/impl/GoodsBrandServiceImpl.java b/ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/service/impl/GoodsBrandServiceImpl.java
index 5955dd4..77b6135 100644
--- a/ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/service/impl/GoodsBrandServiceImpl.java
+++ b/ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/service/impl/GoodsBrandServiceImpl.java
@@ -5,10 +5,10 @@
 import com.ruoyi.common.core.utils.StringUtils;
 import com.ruoyi.common.core.utils.page.BeanUtils;
 import com.ruoyi.common.core.utils.page.PageDTO;
-import com.ruoyi.goods.controller.mamagement.DTO.GoodsBrandDTO;
-import com.ruoyi.goods.controller.mamagement.DTO.GoodsBrandQuery;
-import com.ruoyi.goods.controller.mamagement.VO.GoodsBrandVO;
-import com.ruoyi.goods.domain.pojo.GoodsBrand;
+import com.ruoyi.goods.controller.management.dto.GoodsBrandDTO;
+import com.ruoyi.goods.controller.management.dto.GoodsBrandQuery;
+import com.ruoyi.goods.controller.management.vo.GoodsBrandVO;
+import com.ruoyi.system.api.domain.GoodsBrand;
 import com.ruoyi.goods.mapper.GoodsBrandMapper;
 import com.ruoyi.goods.service.IGoodsBrandService;
 import java.util.List;
@@ -50,7 +50,7 @@
         Page<GoodsBrand> page = this.lambdaQuery()
                 .like(StringUtils.isNotEmpty(query.getBrandName()), GoodsBrand::getBrandName,
                         query.getBrandName())
-                .page(new Page<GoodsBrand>(query.getPageCurr(), query.getPageSize()));
+                .page(new Page<>(query.getPageCurr(), query.getPageSize()));
         if (StringUtils.isEmpty(page.getRecords())) {
             return PageDTO.empty(page.getTotal(), page.getPages());
         }
@@ -63,7 +63,6 @@
      *
      * @param dto 商品品牌数据传输对象,包含商品品牌的信息。 如果dto中的id为空,则认为是新品牌,调用save方法保存;
      *            如果id不为空,则认为是更新已有品牌,调用updateById方法更新。
-     * @return 无返回值
      */
     @Override
     public void saveGoodsBrand(GoodsBrandDTO dto) {

--
Gitblit v1.7.1