Commit c9342a2e authored by Junling Bu's avatar Junling Bu
Browse files

chore[litemall-db]: 查询商品时不基于是否在售字段

parent 5cd86f69
......@@ -154,7 +154,7 @@ public class LitemallGoodsService {
*/
public LitemallGoods findById(Integer id) {
LitemallGoodsExample example = new LitemallGoodsExample();
example.or().andIdEqualTo(id).andIsOnSaleEqualTo(true).andDeletedEqualTo(false);
example.or().andIdEqualTo(id).andDeletedEqualTo(false);
return goodsMapper.selectOneByExampleWithBLOBs(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