|
|
@ -320,12 +320,15 @@ public class HouseServiceImpl implements HouseService, ResultDataResolver { |
|
|
|
//如果类型是house 查房屋
|
|
|
|
//导出房屋
|
|
|
|
List<IcHouseListResultDTO> list = new ArrayList<>(); |
|
|
|
Integer pageNo = NumConstant.ONE; |
|
|
|
do { |
|
|
|
formDTO.setPageNo(pageNo); |
|
|
|
PageData<IcHouseListResultDTO> icHouseExcels = getHouseList(formDTO); |
|
|
|
if (CollectionUtils.isEmpty(icHouseExcels.getList())){ |
|
|
|
break; |
|
|
|
} |
|
|
|
list.addAll(icHouseExcels.getList()); |
|
|
|
pageNo++; |
|
|
|
}while (list.size() == formDTO.getPageSize()); |
|
|
|
TemplateExportParams templatePath = new TemplateExportParams("excel/house_export.xlsx"); |
|
|
|
Map<String,Object> map = new HashMap<>(); |
|
|
|