fix: 无台桌下单报错修复
This commit is contained in:
@@ -1103,7 +1103,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
|||||||
if (shopInfo == null) throw new BadRequestException("店铺信息不存在");
|
if (shopInfo == null) throw new BadRequestException("店铺信息不存在");
|
||||||
|
|
||||||
// 就餐模式信息
|
// 就餐模式信息
|
||||||
ShopEatTypeInfoDTO shopEatTypeInfoDTO = checkEatModel(createOrderDTO.getShopId(), createOrderDTO.getTableId());
|
ShopEatTypeInfoDTO shopEatTypeInfoDTO = checkEatModel(createOrderDTO.getShopId(), createOrderDTO.getTableId(), createOrderDTO.getUseType());
|
||||||
|
|
||||||
// 传递orderId直接取否则取当前缓存id
|
// 传递orderId直接取否则取当前缓存id
|
||||||
Integer orderId = shopEatTypeInfoDTO.isDineInAfter() ?
|
Integer orderId = shopEatTypeInfoDTO.isDineInAfter() ?
|
||||||
|
|||||||
Reference in New Issue
Block a user