fix: 外带模式下单次数修复

This commit is contained in:
SongZhang 2024-10-30 15:22:27 +08:00
parent 5d3ba8e014
commit 0b93b474ec
1 changed files with 1 additions and 1 deletions

View File

@ -698,7 +698,7 @@ public class OrderService {
private TbOrderInfo getCurrentOrder(ShopEatTypeInfoDTO eatTypeInfoDTO, String tableId, Object shopId) {
// 获取当前台桌最新订单先付款模式不获取
if (eatTypeInfoDTO.isDineInBefore()) {
if (eatTypeInfoDTO.isDineInBefore() || eatTypeInfoDTO.isTakeout()) {
return null;
}
List<TbOrderInfo> orderInfoList = mPOrderInfoMapper.selectPage(new Page<>(1, 1), new LambdaQueryWrapper<TbOrderInfo>()