From f735bea919a6bea096552ad5d7cc5a9e60b77fdc Mon Sep 17 00:00:00 2001 From: zhanglin8526 <852614290@qq.com> Date: 星期四, 11 五月 2023 21:37:58 +0800 Subject: [PATCH] 修改订单报错 --- ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/goods/ShopGoodsServiceImpl.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/goods/ShopGoodsServiceImpl.java b/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/goods/ShopGoodsServiceImpl.java index 8c6c1ad..6eabd0e 100644 --- a/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/goods/ShopGoodsServiceImpl.java +++ b/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/goods/ShopGoodsServiceImpl.java @@ -28,7 +28,7 @@ public ShopGoods getByShopIdAndGoodsId(Long shopId,String goodsId){ LambdaQueryWrapper<ShopGoods> queryWrapper = Wrappers.lambdaQuery(); queryWrapper.eq(ShopGoods::getDelFlag, 0).eq(ShopGoods::getShopId, shopId).eq(ShopGoods::getGoodsId, goodsId); - ShopGoods shopGoods = this.getOne(queryWrapper); + ShopGoods shopGoods = this.getOne(queryWrapper,false); return shopGoods; } } -- Gitblit v1.7.1