|
1 2 3 4 5 |
// 快递单号列设置为文本格式 CellStyle style = workbook.createCellStyle(); XSSFDataFormat format = workbook.createDataFormat(); style.setDataFormat(format.getFormat("@")); sheet.setDefaultColumnStyle(17, style); |
View Details