From 02dafc038dfed203c8903223aa3496a1f87f27e9 Mon Sep 17 00:00:00 2001 From: chendt <18902722133@163.com> Date: Mon, 6 Jun 2022 09:57:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=84=E6=A0=BC=E5=88=86=E9=A1=B5mapper?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/yami/shop/dao/ProdPropMapper.java | 2 +- yami-shop-service/src/main/resources/mapper/ProdPropMapper.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/yami-shop-service/src/main/java/com/yami/shop/dao/ProdPropMapper.java b/yami-shop-service/src/main/java/com/yami/shop/dao/ProdPropMapper.java index 779eb2e0..85aeec5a 100644 --- a/yami-shop-service/src/main/java/com/yami/shop/dao/ProdPropMapper.java +++ b/yami-shop-service/src/main/java/com/yami/shop/dao/ProdPropMapper.java @@ -19,7 +19,7 @@ public interface ProdPropMapper extends BaseMapper { - List listPropAndValue(@Param("com.yami.shop.security.common.adapter") PageAdapter adapter, @Param("prodProp") ProdProp prodProp); + List listPropAndValue(@Param("adapter") PageAdapter adapter, @Param("prodProp") ProdProp prodProp); long countPropAndValue(@Param("prodProp") ProdProp prodProp); diff --git a/yami-shop-service/src/main/resources/mapper/ProdPropMapper.xml b/yami-shop-service/src/main/resources/mapper/ProdPropMapper.xml index 6a250e96..a797b852 100644 --- a/yami-shop-service/src/main/resources/mapper/ProdPropMapper.xml +++ b/yami-shop-service/src/main/resources/mapper/ProdPropMapper.xml @@ -38,7 +38,7 @@ and prop_name like concat('%',#{prodProp.propName},'%') - LIMIT #{com.yami.shop.security.common.adapter.begin} , #{com.yami.shop.security.common.adapter.size} + LIMIT #{adapter.begin} , #{adapter.size} ) pp left join tz_prod_prop_value ppv on pp.prop_id = ppv.prop_id