diff --git a/eladmin-system/src/main/java/cn/ysk/cashier/service/impl/shopimpl/TbShopTableServiceImpl.java b/eladmin-system/src/main/java/cn/ysk/cashier/service/impl/shopimpl/TbShopTableServiceImpl.java index ffbbd69e..30985cb9 100644 --- a/eladmin-system/src/main/java/cn/ysk/cashier/service/impl/shopimpl/TbShopTableServiceImpl.java +++ b/eladmin-system/src/main/java/cn/ysk/cashier/service/impl/shopimpl/TbShopTableServiceImpl.java @@ -343,11 +343,7 @@ public class TbShopTableServiceImpl implements TbShopTableService { if (tbCashierCart == null) { throw new BadRequestException("购物车商品不存在"); } - - ShopEatTypeInfoDTO shopEatTypeInfoDTO = checkEatModel(updateCartDTO.getShopId(), String.valueOf(tbCashierCart.getTableId())); - int currentPlaceNum = getCurrentPlaceNum(shopEatTypeInfoDTO); - - if (tbCashierCart.getPlaceNum() != null && !tbCashierCart.getPlaceNum().equals(currentPlaceNum)) { + if (tbCashierCart.getPlaceNum() != null) { throw new BadRequestException("已下单商品仅支持退单操作"); }