商品品牛排和规格,代码 REVIEW
This commit is contained in:
@@ -13,6 +13,7 @@ import org.springframework.stereotype.Repository;
|
||||
@Repository
|
||||
public interface ProductBrandMapper extends BaseMapper<ProductBrandDO> {
|
||||
|
||||
// TODO FROM 芋艿 to q2118cs:selectPageByParams
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user