From ea4df70444e5c022707ccddc22aa121746ac4856 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=9D=BE?= <8605635+zhang3064194730@user.noreply.gitee.com> Date: Sun, 27 Apr 2025 14:45:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=97=E9=93=BA=E4=BF=A1=E6=81=AF=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E8=A1=A5=E5=85=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/account/service/impl/ShopUserServiceImpl.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cash-service/account-service/src/main/java/com/czg/service/account/service/impl/ShopUserServiceImpl.java b/cash-service/account-service/src/main/java/com/czg/service/account/service/impl/ShopUserServiceImpl.java index 4abbd1b1..e2870f7c 100644 --- a/cash-service/account-service/src/main/java/com/czg/service/account/service/impl/ShopUserServiceImpl.java +++ b/cash-service/account-service/src/main/java/com/czg/service/account/service/impl/ShopUserServiceImpl.java @@ -341,6 +341,11 @@ public class ShopUserServiceImpl extends ServiceImpl i if (shopInfo != null) { shopUserDetailDTO.setShopName(shopInfo.getShopName()); shopUserDetailDTO.setShopId(shopInfo.getId()); + + ShopConfig config = shopConfigMapper.selectOneByQuery(new QueryWrapper().eq(ShopConfig::getMainId, shopId)); + if (config != null) { + BeanUtil.copyProperties(config, shopUserDetailDTO, "id"); + } shopUserDetailDTO.setShopInfo(shopInfo); List shopExtends = shopExtendService.list(new QueryWrapper().eq(ShopExtend::getShopId, shopInfo.getId())); shopUserDetailDTO.setShopExtendList(shopExtends);