fix: 退菜修改

This commit is contained in:
2024-10-31 10:29:23 +08:00
parent 34460c0f0d
commit 921015488e

View File

@@ -1151,10 +1151,11 @@ public class TbShopTableServiceImpl implements TbShopTableService {
seatCart = allCashierCart; seatCart = allCashierCart;
} }
if (OrderStatusEnums.CREATE.getValue().equals(allCashierCart.getStatus())) { // if (OrderStatusEnums.CREATE.getValue().equals(allCashierCart.getStatus())) {
// cashierCarts.add(allCashierCart);
// }
cashierCarts.add(allCashierCart); cashierCarts.add(allCashierCart);
} }
}
if (StrUtil.isNotBlank(createOrderDTO.getTableId()) if (StrUtil.isNotBlank(createOrderDTO.getTableId())
&& (cashierCarts.isEmpty() || && (cashierCarts.isEmpty() ||