1.错误描述
2.错误原因
因为BigDecimal不能强制转换成 String类型,要用toString()作为中间桥梁转换
cell = row.createCell(6);
cell.setCellValue(reportDay.getDeductionOfFee().toString());
cell.setCellStyle(centerstyle);
问题解决
1.错误描述
2.错误原因
cell = row.createCell(6);
cell.setCellValue(reportDay.getDeductionOfFee().toString());
cell.setCellStyle(centerstyle);
问题解决