fix: 无桌码不校验就餐模式

This commit is contained in:
张松
2024-11-25 15:34:57 +08:00
parent d7915bce27
commit 99c08437d9

View File

@@ -303,7 +303,7 @@ public class CartService {
}
boolean isSeatCart = "-999".equals(productId);
ShopEatTypeInfoDTO shopEatTypeInfoDTO = shopUtils.checkEatModel(tableId, shopId);
ShopEatTypeInfoDTO shopEatTypeInfoDTO = shopUtils.getEatModel(tableId, shopId);
String tableCartKey = RedisCst.getTableCartKey(shopId, tableId, userId);
// 检查客座费并设置
checkSeatInfo(shopEatTypeInfoDTO, tableId, userId);