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

This commit is contained in:
2024-09-29 17:26:44 +08:00
parent c506dbabec
commit dd7dabf346

View File

@@ -822,7 +822,7 @@ public class CartService {
if (!shopEatTypeInfoDTO.isTakeout() && shopInfo.getIsTableFee() != null && shopInfo.getIsTableFee() == 0
&& (seatNum < 1 || cashierCartList.size() < 2)) {
log.info("消息推送");
responseData.put("msg", "请选择就餐人数");
responseData.put("msg", "购物车为空");
if (shopTable.getMaxCapacity() < seatNum) {
responseData.put("msg", "当前台桌最大人数为: " + shopTable.getMaxCapacity());
}