feat: 添加购物车修改

This commit is contained in:
张松
2024-12-06 16:23:09 +08:00
parent 9cc0643763
commit 4944bd1e8a

View File

@@ -421,6 +421,7 @@ public class OrderService {
if (type.equals("add") || needNew) {
cashierCart = getCashierInfo(shopId, skuId, productId, tableId, masterId, shopEatTypeInfoDTO, cartId);
isGroup = cashierCart != null && cashierCart.getGroupType() != null && cashierCart.getGroupType() == 1;
if (cashierCart != null && !isGroup) {
// 校验是否是代客下单往期订单
if (shopEatTypeInfoDTO.isDineInAfter() && cashierCart.getPlaceNum() != null && !isSeatCart) {