店铺信息返回补全
This commit is contained in:
@@ -344,7 +344,7 @@ public class ShopUserServiceImpl extends ServiceImpl<ShopUserMapper, ShopUser> i
|
|||||||
|
|
||||||
ShopConfig config = shopConfigMapper.selectOneByQuery(new QueryWrapper().eq(ShopConfig::getMainId, shopId));
|
ShopConfig config = shopConfigMapper.selectOneByQuery(new QueryWrapper().eq(ShopConfig::getMainId, shopId));
|
||||||
if (config != null) {
|
if (config != null) {
|
||||||
BeanUtil.copyProperties(config, shopUserDetailDTO, "id");
|
BeanUtil.copyProperties(config, shopInfo, "id");
|
||||||
}
|
}
|
||||||
shopUserDetailDTO.setShopInfo(shopInfo);
|
shopUserDetailDTO.setShopInfo(shopInfo);
|
||||||
List<ShopExtend> shopExtends = shopExtendService.list(new QueryWrapper().eq(ShopExtend::getShopId, shopInfo.getId()));
|
List<ShopExtend> shopExtends = shopExtendService.list(new QueryWrapper().eq(ShopExtend::getShopId, shopInfo.getId()));
|
||||||
|
|||||||
Reference in New Issue
Block a user