row.getCell()获取单元格为null,空指针异常
if(row.getCell(j+3) == null){ row.createCell(j+3).setCellValue(new HSSFRichTextString(String.valueOf(resultList.get(j))));}else { row.getCell(j+3).setCellValue(new HSSFRichTextString(String.v...
原创
2018-04-25 17:46:18 ·
39872 阅读 ·
3 评论