From 1e770c20035c3047d6a676085caa3fab559bc2bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=85=81=E6=9E=9E?= <3422692813@qq.com> Date: Sun, 29 Sep 2024 15:16:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B09.29?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../integral/service/impl/IntegralOrdersServiceImpl.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/integral/service/impl/IntegralOrdersServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/integral/service/impl/IntegralOrdersServiceImpl.java index bb300f9be..ff575c3e8 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/integral/service/impl/IntegralOrdersServiceImpl.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/integral/service/impl/IntegralOrdersServiceImpl.java @@ -119,6 +119,12 @@ public class IntegralOrdersServiceImpl implements IntegralOrdersService { integralOrdersVO.setStoreName(mtStore.getName()); integralOrdersVO.setStoreAddress(mtStore.getAddress()); } + //查询商品信息 + IntegralGift integralGift = integralGiftService.queryById(integralOrders.getGiftId()); + if (ObjectUtil.isNotEmpty(integralGift)) { + integralOrdersVO.setGiftName(integralGift.getGiftName()); + integralGift.setCoverImage(integralGift.getCoverImage()); + } } return integralOrdersVO; }