Commit d060f4d8 authored by chew's avatar chew

调整状态查询

parent 8666fb86
......@@ -142,10 +142,14 @@ public class OutboundOrderServiceImpl implements OutboundOrderService {
public IPage<OrderWithPendingVo> getOrderWithPending(OrderQueryReq req) {
Page<OrderWithPendingVo> page = new Page<>(req.getPageNum(), req.getPageSize());
List<String> statusList=new ArrayList<>();
if(StringUtils.isNotEmpty(req.getStatus())){
statusList = Arrays.asList(req.getStatus().split(","));
}
page.setRecords(orderHeaderMapper.selectOrderWithPending(
req.getCustomerName(),
req.getOrderNo(),
req.getStatus(),
statusList,
req.getStartTime(),
req.getEndTime()
));
......
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