Open rrrrong opened 4 years ago
https://github.com/zhangdaiscott/autopoi/blob/master/autopoi/src/main/java/org/jeecgframework/poi/excel/export/base/ExcelExportBase.java
Object value = getCellValue(entity, obj); //update-begin--Author:xuelin Date:20171018 for:TASK #2372 【excel】easypoi 导出类型,type增加数字类型-------------------- if (entity.getType() == 1) { createStringCell(row, cellNum++, value == null ? "" : value.toString(), row.getRowNum() % 2 == 0 ? getStyles(false, entity) : getStyles(true, entity), entity); } else if (entity.getType() == 4){ createNumericCell(row, cellNum++, value == null ? "" : value.toString(), index % 2 == 0 ? getStyles(false, entity) : getStyles(true, entity), entity); } else{ createImageCell(patriarch, entity, row, cellNum++, value == null ? "" : value.toString(), obj); } //update-end--Author:xuelin Date:20171018 for:TASK #2372 【excel】easypoi 导出类型,type增加数字类型----------------
外面所有的文档都不是这样的定义。。。。。
https://github.com/zhangdaiscott/autopoi/blob/master/autopoi/src/main/java/org/jeecgframework/poi/excel/export/base/ExcelExportBase.java
Object value = getCellValue(entity, obj); //update-begin--Author:xuelin Date:20171018 for:TASK #2372 【excel】easypoi 导出类型,type增加数字类型-------------------- if (entity.getType() == 1) { createStringCell(row, cellNum++, value == null ? "" : value.toString(), row.getRowNum() % 2 == 0 ? getStyles(false, entity) : getStyles(true, entity), entity); } else if (entity.getType() == 4){ createNumericCell(row, cellNum++, value == null ? "" : value.toString(), index % 2 == 0 ? getStyles(false, entity) : getStyles(true, entity), entity); } else{ createImageCell(patriarch, entity, row, cellNum++, value == null ? "" : value.toString(), obj); } //update-end--Author:xuelin Date:20171018 for:TASK #2372 【excel】easypoi 导出类型,type增加数字类型----------------
外面所有的文档都不是这样的定义。。。。。