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 bcedb8ce..2245af47 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 @@ -1285,7 +1285,7 @@ public class TbShopTableServiceImpl implements TbShopTableService { } // 先付费模式,结束购物车状态 - if (shopEatTypeInfoDTO.isDineInBefore()) { + if (shopEatTypeInfoDTO.isDineInBefore() || shopEatTypeInfoDTO.isTakeout()) { cashierCart.setStatus("final"); } cashierCartMapper.updateById(cashierCart);