新增创建订单 切换就餐模式接口

This commit is contained in:
2024-09-29 17:21:08 +08:00
parent ca4f0849c2
commit 8674d8d22b

View File

@@ -820,7 +820,7 @@ public class CartService {
// 设置餐位费
TbShopInfo shopInfo = mpShopInfoMapper.selectById(shopId);
if (!shopEatTypeInfoDTO.isTakeout() && shopInfo.getIsTableFee() != null && shopInfo.getIsTableFee() == 0
&& seatNum < 1) {
&& (seatNum < 1 || cashierCartList.size() < 2)) {
log.info("消息推送");
responseData.put("msg", "请选择就餐人数");
if (shopTable.getMaxCapacity() < seatNum) {