fix: 外带下单次数修复

This commit is contained in:
SongZhang 2024-10-30 17:11:39 +08:00
parent a8d59c1308
commit f386405aaa
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
private TbOrderInfo getCurrentOrder(ShopEatTypeInfoDTO eatTypeInfoDTO) {
// 获取当前台桌最新订单先付款模式不获取
if (eatTypeInfoDTO.isDineInBefore()) {
if (eatTypeInfoDTO.isDineInBefore() || eatTypeInfoDTO.isTakeout()) {
return null;
}
List<TbOrderInfo> orderInfoList = orderInfoMapper.selectPage(new com.baomidou.mybatisplus.extension.plugins.pagination.Page<>(1, 1), new LambdaQueryWrapper<TbOrderInfo>()