| | |
| | | import com.java110.api.smo.DefaultAbstractComponentSMO; |
| | | import com.java110.api.smo.assetExport.IExportOwnerCarSMO; |
| | | import com.java110.core.context.IPageData; |
| | | import com.java110.entity.component.ComponentValidateResult; |
| | | import com.java110.dto.system.ComponentValidateResult; |
| | | import com.java110.utils.util.Assert; |
| | | import com.java110.utils.util.DateUtil; |
| | | import org.apache.poi.ss.usermodel.*; |
| | |
| | | Sheet sheet = workbook.createSheet("业主车辆信息"); |
| | | Row row = sheet.createRow(0); |
| | | Cell cell0 = row.createCell(0); |
| | | cell0.setCellValue("房屋号: 格式为xx-xx-xx(楼栋-单元-房屋);\n车辆类型:9901表示家用小汽车,9902表示客车,9903表示货车;" + |
| | | cell0.setCellValue("车辆类型:9901表示家用小汽车,9902表示客车,9903表示货车;" + |
| | | "\n停车场:停车场编号,系统中不存在自动创建" + "\n车位:停车位编号,系统中不存在自动创建" + "\n起租时间: 格式为YYYY-MM-DD;\n截止时间: 格式为YYYY-MM-DD;" + |
| | | "\n停车场类型:1001表示地上停车场,2001表示地下停车场;\n车位状态:S表示出售,H表示出租;" + |
| | | "\n注意:所有单元格式为文本"); |
| | |
| | | row.setHeight((short) (200 * 15)); |
| | | row = sheet.createRow(1); |
| | | row.createCell(0).setCellValue("车牌号"); |
| | | row.createCell(1).setCellValue("房屋号"); |
| | | row.createCell(2).setCellValue("车辆品牌"); |
| | | row.createCell(3).setCellValue("车辆类型"); |
| | | row.createCell(4).setCellValue("颜色"); |
| | | row.createCell(5).setCellValue("停车场"); |
| | | row.createCell(6).setCellValue("车位"); |
| | | row.createCell(7).setCellValue("起租时间"); |
| | | row.createCell(8).setCellValue("截止时间"); |
| | | row.createCell(9).setCellValue("停车场类型"); |
| | | row.createCell(10).setCellValue("车位状态"); |
| | | row.createCell(1).setCellValue("业主名称"); |
| | | row.createCell(2).setCellValue("手机号"); |
| | | row.createCell(3).setCellValue("车辆品牌"); |
| | | row.createCell(4).setCellValue("车辆类型"); |
| | | row.createCell(5).setCellValue("颜色"); |
| | | row.createCell(6).setCellValue("停车场"); |
| | | row.createCell(7).setCellValue("车位"); |
| | | row.createCell(8).setCellValue("起租时间"); |
| | | row.createCell(9).setCellValue("截止时间"); |
| | | row.createCell(10).setCellValue("停车场类型"); |
| | | row.createCell(11).setCellValue("车位状态"); |
| | | CellRangeAddress region = new CellRangeAddress(0, 0, 0, 8); |
| | | sheet.addMergedRegion(region); |
| | | } |