作者 mazh

修复BUG: 导出Excel功能, 当attr的cellType为String时, cell的cellType由Numeric修正为String。

@@ -476,7 +476,7 @@ public class ExcelUtil<T> @@ -476,7 +476,7 @@ public class ExcelUtil<T>
476 { 476 {
477 if (ColumnType.STRING == attr.cellType()) 477 if (ColumnType.STRING == attr.cellType())
478 { 478 {
479 - cell.setCellType(CellType.NUMERIC); 479 + cell.setCellType(CellType.STRING);
480 cell.setCellValue(StringUtils.isNull(value) ? attr.defaultValue() : value + attr.suffix()); 480 cell.setCellValue(StringUtils.isNull(value) ? attr.defaultValue() : value + attr.suffix());
481 } 481 }
482 else if (ColumnType.NUMERIC == attr.cellType()) 482 else if (ColumnType.NUMERIC == attr.cellType())