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);