From c9342a2e27efc1f848051d0d68399391da82f5f4 Mon Sep 17 00:00:00 2001 From: Junling Bu Date: Tue, 12 Mar 2019 17:07:04 +0800 Subject: [PATCH] =?UTF-8?q?chore[litemall-db]:=20=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E5=95=86=E5=93=81=E6=97=B6=E4=B8=8D=E5=9F=BA=E4=BA=8E=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E5=9C=A8=E5=94=AE=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../linlinjava/litemall/db/service/LitemallGoodsService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/service/LitemallGoodsService.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/service/LitemallGoodsService.java index 28f3c581..2bab5662 100644 --- a/litemall-db/src/main/java/org/linlinjava/litemall/db/service/LitemallGoodsService.java +++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/service/LitemallGoodsService.java @@ -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); }