餐位费不放入购物车缓存
This commit is contained in:
@@ -491,7 +491,9 @@ public class CartService {
|
|||||||
if (type == 1) {
|
if (type == 1) {
|
||||||
TbCashierCart cashierCart = addCart(productId, skuId,
|
TbCashierCart cashierCart = addCart(productId, skuId,
|
||||||
jsonObject.getInteger("userId"), buyNum, tableId, shopId, isVip, note, shopEatTypeInfoDTO.isTakeout());
|
jsonObject.getInteger("userId"), buyNum, tableId, shopId, isVip, note, shopEatTypeInfoDTO.isTakeout());
|
||||||
jsonArray.add(cashierCart);
|
if (!TableConstant.CART_SEAT_ID.equals(productId)) {
|
||||||
|
jsonArray.add(cashierCart);
|
||||||
|
}
|
||||||
cashierCart.setPlaceNum(cashierCart.getPlaceNum() == null ? 0 : cashierCart.getPlaceNum());
|
cashierCart.setPlaceNum(cashierCart.getPlaceNum() == null ? 0 : cashierCart.getPlaceNum());
|
||||||
cashierCartArrayList.add(cashierCart);
|
cashierCartArrayList.add(cashierCart);
|
||||||
if (isVip != 1) {
|
if (isVip != 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user