商品品牛排和规格,代码 REVIEW

This commit is contained in:
YunaiV
2020-05-11 21:55:53 +08:00
parent b45739d151
commit a8bc6754c2
4 changed files with 7 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ import org.springframework.stereotype.Repository;
@Repository
public interface ProductBrandMapper extends BaseMapper<ProductBrandDO> {
// TODO FROM 芋艿 to q2118csselectPageByParams
default IPage<ProductBrandDO> selectListByParams(ProductBrandPageDTO productBrandPageDTO) {
Page<ProductBrandDO> page = new Page<>(productBrandPageDTO.getPageNo(), productBrandPageDTO.getPageSize());
LambdaQueryWrapper<ProductBrandDO> queryWrapper = Wrappers.<ProductBrandDO>query().lambda()
@@ -22,4 +23,4 @@ public interface ProductBrandMapper extends BaseMapper<ProductBrandDO> {
.eq(ProductBrandDO::getDeleted, false);
return selectPage(page, queryWrapper);
}
}
}