Commit a6860b2a authored by liuzeheng's avatar liuzeheng

订单导出

parent db949bd4
...@@ -896,7 +896,7 @@ public class OrderQueryServiceImpl implements OrderQueryService { ...@@ -896,7 +896,7 @@ public class OrderQueryServiceImpl implements OrderQueryService {
public void caseStatus(List<Integer> status,OrderQueryDTO query){ public void caseStatus(List<Integer> status,OrderQueryDTO query){
if (CollectionUtils.isNotEmpty(status) ) { if (CollectionUtils.isNotEmpty(status) && status.size()>0) {
List<Integer> statusList =new ArrayList<>() ; List<Integer> statusList =new ArrayList<>() ;
status.forEach(statu->{ status.forEach(statu->{
...@@ -911,6 +911,8 @@ public class OrderQueryServiceImpl implements OrderQueryService { ...@@ -911,6 +911,8 @@ public class OrderQueryServiceImpl implements OrderQueryService {
list.addAll(statusList.stream().distinct().collect(Collectors.toList())); list.addAll(statusList.stream().distinct().collect(Collectors.toList()));
query.setStatusList(list) ; query.setStatusList(list) ;
}else if(CollectionUtils.isNotEmpty(status) && status.size()==0){
status =null;
} }
} }
......
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