Browse Source

新增退款订单筛查

xlq 2 days ago
parent
commit
9bf75ebd1d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/java/com/qmrb/system/service/impl/OrderServiceImpl.java

+ 1 - 0
src/main/java/com/qmrb/system/service/impl/OrderServiceImpl.java

@@ -114,6 +114,7 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
                 new LambdaQueryWrapper<Order>().eq(queryParams.getGoodId() != null,Order::getGoodId,queryParams.getGoodId())
                         .eq(queryParams.getPayStatus() != null,Order::getPayStatus,queryParams.getPayStatus())
                         .eq(StringUtils.isNotBlank(queryParams.getPlateNumber()),Order::getPlateNumber,queryParams.getPlateNumber())
+                        .eq(queryParams.getPayStatus()!= null,Order::getPayStatus,queryParams.getPayStatus())
                         .ge(StrUtil.isNotBlank(queryParams.getStartTimeBegin()), Order::getPayTime, queryParams.getStartTimeBegin())
                         .le(StrUtil.isNotBlank(queryParams.getStartTimeEnd()), Order::getPayTime, queryParams.getStartTimeEnd())
                         .orderByDesc(Order::getPayTime)