Skip to content

Commit

Permalink
规格分页mapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Brother-Dragon committed Jun 6, 2022
1 parent 0dee2aa commit 02dafc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

public interface ProdPropMapper extends BaseMapper<ProdProp> {

List<ProdProp> listPropAndValue(@Param("com.yami.shop.security.common.adapter") PageAdapter adapter, @Param("prodProp") ProdProp prodProp);
List<ProdProp> listPropAndValue(@Param("adapter") PageAdapter adapter, @Param("prodProp") ProdProp prodProp);

long countPropAndValue(@Param("prodProp") ProdProp prodProp);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<if test="prodProp.propName != null and prodProp.propName != ''">
and prop_name like concat('%',#{prodProp.propName},'%')
</if>
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
Expand Down

0 comments on commit 02dafc0

Please sign in to comment.