店铺信息返回补全

This commit is contained in:
张松
2025-04-27 14:56:19 +08:00
parent ea4df70444
commit d103ff8f88

View File

@@ -344,7 +344,7 @@ public class ShopUserServiceImpl extends ServiceImpl<ShopUserMapper, ShopUser> i
ShopConfig config = shopConfigMapper.selectOneByQuery(new QueryWrapper().eq(ShopConfig::getMainId, shopId));
if (config != null) {
BeanUtil.copyProperties(config, shopUserDetailDTO, "id");
BeanUtil.copyProperties(config, shopInfo, "id");
}
shopUserDetailDTO.setShopInfo(shopInfo);
List<ShopExtend> shopExtends = shopExtendService.list(new QueryWrapper().eq(ShopExtend::getShopId, shopInfo.getId()));