fix: 下单次数修复

This commit is contained in:
2024-10-30 18:01:29 +08:00
parent 31f20090e5
commit c1145538dc

View File

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