|
@@ -39,7 +39,7 @@ public class BrandServiceImpl implements BrandService {
|
|
|
public TableDataInfo<BrandVo> selectPageBrandList(BrandBo brandBo,PageQuery pageQuery) {
|
|
|
QueryWrapper<Brand> qw = new QueryWrapper<>();
|
|
|
qw.eq(StringUtils.isNotBlank(brandBo.getName()), "name", brandBo.getName());
|
|
|
- qw.eq("type", BRAND_TYPE);
|
|
|
+ qw.eq("type", BRAND_TYPE.getType());
|
|
|
Page<BrandVo> page = brandMapper.selectVoPage(pageQuery.build(), qw);
|
|
|
return TableDataInfo.build(page);
|
|
|
}
|