fix[litemall-db]: 查询品牌商时过滤已删除
This commit is contained in:
@@ -83,6 +83,8 @@ public class LitemallBrandService {
|
||||
}
|
||||
|
||||
public List<LitemallBrand> all() {
|
||||
return brandMapper.selectByExample(new LitemallBrandExample());
|
||||
LitemallBrandExample example = new LitemallBrandExample();
|
||||
example.or().andDeletedEqualTo(false);
|
||||
return brandMapper.selectByExample(example);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user