客座费支持删除清空

This commit is contained in:
2024-09-28 14:42:19 +08:00
parent bf3be4e37c
commit c6ce560a43

View File

@@ -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));