From 2a1c6e1b94fd15e92b10ac527a052275336e4124 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=89=E6=9D=A5=E6=8A=80=E6=9C=AF?= <1490493387@qq.com> Date: Tue, 17 Aug 2021 00:46:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(PmsSpuServiceImpl.java):=20=E5=95=86?= =?UTF-8?q?=E5=93=81=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/youlai/mall/pms/mapper/PmsSpuMapper.java | 2 +- .../com/youlai/mall/pms/service/impl/PmsSpuServiceImpl.java | 2 +- mall-pms/pms-boot/src/main/resources/mapper/PmsSpuMapper.xml | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/mall-pms/pms-boot/src/main/java/com/youlai/mall/pms/mapper/PmsSpuMapper.java b/mall-pms/pms-boot/src/main/java/com/youlai/mall/pms/mapper/PmsSpuMapper.java index 560af81cf..4e1577569 100644 --- a/mall-pms/pms-boot/src/main/java/com/youlai/mall/pms/mapper/PmsSpuMapper.java +++ b/mall-pms/pms-boot/src/main/java/com/youlai/mall/pms/mapper/PmsSpuMapper.java @@ -13,5 +13,5 @@ import java.util.List; @Mapper public interface PmsSpuMapper extends BaseMapper { - List list(Page page, String name, Long categoryId); + List list( String name, Long categoryId); } diff --git a/mall-pms/pms-boot/src/main/java/com/youlai/mall/pms/service/impl/PmsSpuServiceImpl.java b/mall-pms/pms-boot/src/main/java/com/youlai/mall/pms/service/impl/PmsSpuServiceImpl.java index bba33ea3a..bc6147e15 100644 --- a/mall-pms/pms-boot/src/main/java/com/youlai/mall/pms/service/impl/PmsSpuServiceImpl.java +++ b/mall-pms/pms-boot/src/main/java/com/youlai/mall/pms/service/impl/PmsSpuServiceImpl.java @@ -51,7 +51,7 @@ public class PmsSpuServiceImpl extends ServiceImpl impleme */ @Override public IPage list(Page page, String name, Long categoryId) { - List list = this.baseMapper.list(page, name, categoryId); + List list = this.baseMapper.list( name, categoryId); page.setRecords(list); return page; } diff --git a/mall-pms/pms-boot/src/main/resources/mapper/PmsSpuMapper.xml b/mall-pms/pms-boot/src/main/resources/mapper/PmsSpuMapper.xml index 5b59db6ce..95a243a8b 100644 --- a/mall-pms/pms-boot/src/main/resources/mapper/PmsSpuMapper.xml +++ b/mall-pms/pms-boot/src/main/resources/mapper/PmsSpuMapper.xml @@ -52,6 +52,7 @@ unit,description,detail, status,gmt_create,gmt_modified +