| | |
| | | import org.apache.poi.ss.usermodel.*; |
| | | import org.apache.poi.ss.util.CellRangeAddress; |
| | | import org.apache.poi.xssf.streaming.SXSSFWorkbook; |
| | | import org.checkerframework.checker.units.qual.C; |
| | | import org.springframework.core.annotation.AnnotationConfigurationException; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | |
| | | sheet.addMergedRegion(new CellRangeAddress(0 ,0,0,5)); |
| | | Row header1 = sheet.createRow(1); |
| | | header1.setHeight((short) 500); |
| | | header1.createCell(0).setCellValue("投保企业"); |
| | | header1.createCell(0).setCellValue(Constants.equalsInteger(data.getSolutionType(), Constants.ZERO)?"投保企业":"被保险人"); |
| | | header1.createCell(1).setCellValue("保险方案"); |
| | | header1.createCell(2).setCellValue("保险生效起期"); |
| | | header1.createCell(3).setCellValue("保险生效止期"); |