新增创建订单 切换就餐模式接口
This commit is contained in:
@@ -822,7 +822,7 @@ public class CartService {
|
|||||||
if (!shopEatTypeInfoDTO.isTakeout() && shopInfo.getIsTableFee() != null && shopInfo.getIsTableFee() == 0
|
if (!shopEatTypeInfoDTO.isTakeout() && shopInfo.getIsTableFee() != null && shopInfo.getIsTableFee() == 0
|
||||||
&& (seatNum < 1 || cashierCartList.size() < 2)) {
|
&& (seatNum < 1 || cashierCartList.size() < 2)) {
|
||||||
log.info("消息推送");
|
log.info("消息推送");
|
||||||
responseData.put("msg", "请选择就餐人数");
|
responseData.put("msg", "购物车为空");
|
||||||
if (shopTable.getMaxCapacity() < seatNum) {
|
if (shopTable.getMaxCapacity() < seatNum) {
|
||||||
responseData.put("msg", "当前台桌最大人数为: " + shopTable.getMaxCapacity());
|
responseData.put("msg", "当前台桌最大人数为: " + shopTable.getMaxCapacity());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user