Commit b094b99a by wuwenlong

front order list opt;

parent b6a87ce3
...@@ -114,6 +114,7 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme ...@@ -114,6 +114,7 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
List<SOrder> sOrders = new ArrayList<>(); List<SOrder> sOrders = new ArrayList<>();
if (ObjectUtil.isNotEmpty(sOrder.getStatus())) { if (ObjectUtil.isNotEmpty(sOrder.getStatus())) {
LambdaQueryWrapper<SOrder> queryWrapper = new LambdaQueryWrapper<>(); LambdaQueryWrapper<SOrder> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(SOrder::getPayStatus, YesNoEnum.yes.getIndex());
if (sOrder.getStatus().equals(OrderStatusEnum.CANCEL.getCode())) { if (sOrder.getStatus().equals(OrderStatusEnum.CANCEL.getCode())) {
queryWrapper.in(SOrder::getStatus, new ArrayList<Integer>() {{ queryWrapper.in(SOrder::getStatus, new ArrayList<Integer>() {{
add(OrderStatusEnum.CANCEL.getCode()); add(OrderStatusEnum.CANCEL.getCode());
......
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