From 7b005ca364613c9738dbc66f3e4fe3fb7bec043d Mon Sep 17 00:00:00 2001 From: jiangqs <jiangqs> Date: 星期三, 17 五月 2023 17:02:30 +0800 Subject: [PATCH] demo补完 --- ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/goods/GoodsFileServiceImpl.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/GoodsFileServiceImpl.java b/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/goods/GoodsFileServiceImpl.java index b0b2c6d..d6c34ee 100644 --- a/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/goods/GoodsFileServiceImpl.java +++ b/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/goods/GoodsFileServiceImpl.java @@ -38,7 +38,7 @@ public GoodsFile getGoodsPicture(String goodsId){ LambdaQueryWrapper<GoodsFile> queryWrapper = Wrappers.lambdaQuery(); queryWrapper.eq(GoodsFile::getDelFlag, 0).eq(GoodsFile::getGoodsId, goodsId).eq(GoodsFile::getFileType,1); - GoodsFile goodsFile = this.getOne(queryWrapper); + GoodsFile goodsFile = this.getOne(queryWrapper,false); return goodsFile; } -- Gitblit v1.7.1