|
@@ -81,10 +81,19 @@ public class ESOrderBaseController {
|
|
|
ZfireParamBean zfireParam = FieldUtils.supplyParam(zfireParamBean);
|
|
|
//2.查询要导出的内容
|
|
|
zfireParamBean.setPageNum(1);
|
|
|
- zfireParamBean.setPageSize(30000);
|
|
|
+ zfireParamBean.setPageSize(20000);
|
|
|
IPage<OrderBaseVO> orderBaseVOIPage = orderBaseEsLogic.orderBaseEsList(zfireParamBean);
|
|
|
+ List<OrderBaseVO> records = orderBaseVOIPage.getRecords();
|
|
|
+ if (records.size() == 20000){
|
|
|
+ zfireParamBean.setPageNum(2);
|
|
|
+ zfireParamBean.setPageSize(20000);
|
|
|
+ IPage<OrderBaseVO> orderBaseVOIPage2 = orderBaseEsLogic.orderBaseEsList(zfireParamBean);
|
|
|
+
|
|
|
+ records.addAll(orderBaseVOIPage2.getRecords());
|
|
|
+
|
|
|
+ }
|
|
|
//3.导出
|
|
|
- FieldUtils.exportData(orderBaseVOIPage.getRecords(), zfireParam.getExportFields(), request, response);
|
|
|
+ FieldUtils.exportData(records, zfireParam.getExportFields(), request, response);
|
|
|
}
|
|
|
|
|
|
@PostMapping("/status/count")
|