新增桌码换取台桌信息接口
This commit is contained in:
parent
247da29c67
commit
2ab2b0b1c3
|
|
@ -342,7 +342,7 @@ public class ShopUserServiceImpl extends ServiceImpl<ShopUserMapper, ShopUser> i
|
||||||
shopUserDetailDTO.setShopName(shopInfo.getShopName());
|
shopUserDetailDTO.setShopName(shopInfo.getShopName());
|
||||||
shopUserDetailDTO.setShopId(shopInfo.getId());
|
shopUserDetailDTO.setShopId(shopInfo.getId());
|
||||||
|
|
||||||
ShopConfig config = shopConfigMapper.selectOneByQuery(new QueryWrapper().eq(ShopConfig::getMainId, shopId));
|
ShopConfig config = shopConfigMapper.selectOneByQuery(new QueryWrapper().eq(ShopConfig::getId, shopId));
|
||||||
if (config != null) {
|
if (config != null) {
|
||||||
BeanUtil.copyProperties(config, shopInfo, "id");
|
BeanUtil.copyProperties(config, shopInfo, "id");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue