客座费支持删除清空
This commit is contained in:
@@ -317,6 +317,9 @@ public class CartService {
|
|||||||
boolean isSeatCart = "-999".equals(productId);
|
boolean isSeatCart = "-999".equals(productId);
|
||||||
ShopEatTypeInfoDTO shopEatTypeInfoDTO = shopUtils.checkEatModel(tableId, shopId);
|
ShopEatTypeInfoDTO shopEatTypeInfoDTO = shopUtils.checkEatModel(tableId, shopId);
|
||||||
String tableCartKey = RedisCst.getTableCartKey(shopId, tableId, userId);
|
String tableCartKey = RedisCst.getTableCartKey(shopId, tableId, userId);
|
||||||
|
// 检查客座费并设置
|
||||||
|
checkSeatInfo(shopEatTypeInfoDTO, tableId, userId);
|
||||||
|
|
||||||
TbProductSkuWithBLOBs tbProductSkuWithBLOBs = null;
|
TbProductSkuWithBLOBs tbProductSkuWithBLOBs = null;
|
||||||
if (!isSeatCart) {
|
if (!isSeatCart) {
|
||||||
TbProduct tbProduct = productMapper.selectById(Integer.valueOf(productId));
|
TbProduct tbProduct = productMapper.selectById(Integer.valueOf(productId));
|
||||||
|
|||||||
Reference in New Issue
Block a user