From c6ce560a43dc553c097b041ee8e3942bf25d83bf Mon Sep 17 00:00:00 2001 From: SongZhang <2064194730@qq.com> Date: Sat, 28 Sep 2024 14:42:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E5=BA=A7=E8=B4=B9=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=B8=85=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/cashierservice/service/CartService.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/service/CartService.java b/src/main/java/com/chaozhanggui/system/cashierservice/service/CartService.java index 5ca6a4f..0b58c4a 100644 --- a/src/main/java/com/chaozhanggui/system/cashierservice/service/CartService.java +++ b/src/main/java/com/chaozhanggui/system/cashierservice/service/CartService.java @@ -317,6 +317,9 @@ public class CartService { boolean isSeatCart = "-999".equals(productId); ShopEatTypeInfoDTO shopEatTypeInfoDTO = shopUtils.checkEatModel(tableId, shopId); String tableCartKey = RedisCst.getTableCartKey(shopId, tableId, userId); + // 检查客座费并设置 + checkSeatInfo(shopEatTypeInfoDTO, tableId, userId); + TbProductSkuWithBLOBs tbProductSkuWithBLOBs = null; if (!isSeatCart) { TbProduct tbProduct = productMapper.selectById(Integer.valueOf(productId));