|
|
@@ -331,19 +331,19 @@ public class ResumptionRecordServiceImpl extends ServiceImpl<ResumptionRecordMap
|
|
|
throw new ServiceException("请选择机构再导出数据");
|
|
|
}
|
|
|
pageDto.setPageNum(1L);
|
|
|
- pageDto.setPageSize(10001L);
|
|
|
+ pageDto.setPageSize(200001L);
|
|
|
final List<ResumptionRecordPageVo> data = this.selectList(pageDto).getRows();
|
|
|
if (CollectionUtil.isEmpty(data)) {
|
|
|
throw new ServiceException("暂无可用数据导出!");
|
|
|
}
|
|
|
|
|
|
- if (data.size() > 10000) {
|
|
|
- throw new ServiceException("每次最多导出10000条");
|
|
|
+ if (data.size() > 200000) {
|
|
|
+ throw new ServiceException("每次最多导出200000条");
|
|
|
}
|
|
|
|
|
|
Map<String, SysDictData> dicts = remoteDictDataService.selectDictByeType("resumption_status", SecurityConstants.INNER)
|
|
|
.stream().collect(Collectors.toMap(SysDictData::getDictValue, v -> v));
|
|
|
- List<ResumptionRecordPageVo> limit = data.stream().limit(10000).collect(Collectors.toList());
|
|
|
+ List<ResumptionRecordPageVo> limit = data.stream().limit(200000).collect(Collectors.toList());
|
|
|
int index = 1;
|
|
|
for (ResumptionRecordPageVo r : limit) {
|
|
|
r.setIndex(index++);
|