Commit ab53a0db by 吕明尚

修改房间状态的订单查询

parent 674bc150
...@@ -767,6 +767,7 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme ...@@ -767,6 +767,7 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
if(CollectionUtils.isNotEmpty(roomIds)) { if(CollectionUtils.isNotEmpty(roomIds)) {
queryWrapper.in(SOrder::getRoomId, roomIds); queryWrapper.in(SOrder::getRoomId, roomIds);
} }
queryWrapper.eq(SOrder::getPayStatus, YesNoEnum.yes.getIndex());
queryWrapper.notIn(SOrder::getRefundStatus, RefundStatusEnum.getRefundedStatus()); queryWrapper.notIn(SOrder::getRefundStatus, RefundStatusEnum.getRefundedStatus());
queryWrapper.in(SOrder::getStatus, OrderStatusEnum.getValidOrderStatus()); queryWrapper.in(SOrder::getStatus, OrderStatusEnum.getValidOrderStatus());
queryWrapper.eq(SOrder::getIsDelete, YesNoEnum.no.getIndex()); queryWrapper.eq(SOrder::getIsDelete, YesNoEnum.no.getIndex());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment