fix: 无桌码切换就餐模式获取不到信息修复
This commit is contained in:
@@ -1712,7 +1712,7 @@ public class CartService {
|
||||
.eq(TbCashierCart::getShopId, choseEatModelDTO.getShopId())
|
||||
.gt(TbCashierCart::getCreatedAt, DateUtil.offsetDay(DateUtil.date(), -1).getTime())
|
||||
.isNull(TbCashierCart::getOrderId)
|
||||
.eq(TbCashierCart::getTableId, choseEatModelDTO.getTableId())
|
||||
.and(r -> r.eq(TbCashierCart::getTableId, choseEatModelDTO.getTableId()).or().isNull(TbCashierCart::getTableId).or().eq(TbCashierCart::getTableId, ""))
|
||||
.and(q -> q.eq(TbCashierCart::getUseType, shopEatTypeInfoDTO.getUseType()).or().isNull(TbCashierCart::getUseType).or().eq(TbCashierCart::getUseType, ""))
|
||||
.eq(TbCashierCart::getStatus, "create");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user