fix: 外带下单次数修复
This commit is contained in:
parent
a8d59c1308
commit
f386405aaa
|
|
@ -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>()
|
||||
|
|
|
|||
Loading…
Reference in New Issue