| | |
| | | BeanUtils.copyProperties(platformWaterGas,platformWaterGasForExcelVO); |
| | | pageData.add(platformWaterGasForExcelVO); |
| | | } |
| | | ExcelExporter.build(PlatformWaterGasForExcelVO.class).export(pageData, Constants.equalsInteger(pageWrap.getModel().getType(),Constants.ZERO)?"月台_用水信息记录表":"月台_用气信息记录表", response); |
| | | String title = "月台_循环烟箱记录表"; |
| | | if(Constants.equalsInteger(pageWrap.getModel().getType(),Constants.ZERO)){ |
| | | title = "月台_用水信息记录表"; |
| | | }else if(Constants.equalsInteger(pageWrap.getModel().getType(),Constants.ONE)){ |
| | | title = "月台_用气信息记录表"; |
| | | } |
| | | ExcelExporter.build(PlatformWaterGasForExcelVO.class).export(pageData, title, response); |
| | | }else{ |
| | | ExcelExporter.build(PlatformWaterGas.class).export(waterGasPageData, "月台_油耗信息记录表", response); |
| | | } |