fix: 外带下单次数修复
This commit is contained in:
@@ -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>()
|
||||
|
||||
Reference in New Issue
Block a user