Commit 140100c6 authored by Junling Bu's avatar Junling Bu
Browse files

fix[litemall-db]: 查询品牌商时过滤已删除

parent 3bd1d039
......@@ -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);
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment