新增创建订单 切换就餐模式接口
This commit is contained in:
@@ -820,7 +820,7 @@ public class CartService {
|
|||||||
// 设置餐位费
|
// 设置餐位费
|
||||||
TbShopInfo shopInfo = mpShopInfoMapper.selectById(shopId);
|
TbShopInfo shopInfo = mpShopInfoMapper.selectById(shopId);
|
||||||
if (!shopEatTypeInfoDTO.isTakeout() && shopInfo.getIsTableFee() != null && shopInfo.getIsTableFee() == 0
|
if (!shopEatTypeInfoDTO.isTakeout() && shopInfo.getIsTableFee() != null && shopInfo.getIsTableFee() == 0
|
||||||
&& seatNum < 1) {
|
&& (seatNum < 1 || cashierCartList.size() < 2)) {
|
||||||
log.info("消息推送");
|
log.info("消息推送");
|
||||||
responseData.put("msg", "请选择就餐人数");
|
responseData.put("msg", "请选择就餐人数");
|
||||||
if (shopTable.getMaxCapacity() < seatNum) {
|
if (shopTable.getMaxCapacity() < seatNum) {
|
||||||
|
|||||||
Reference in New Issue
Block a user