Browse Source

IExcelDataModel 使用Integer类型,以防止inbox, unbox的null错误。

4.1.3.A
Hugh Gao 5 years ago
parent
commit
afe6b5e3ec
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      easypoi-base/src/main/java/cn/afterturn/easypoi/handler/inter/IExcelDataModel.java

+ 2
- 2
easypoi-base/src/main/java/cn/afterturn/easypoi/handler/inter/IExcelDataModel.java View File

@@ -10,12 +10,12 @@ public interface IExcelDataModel {
* 获取行号 * 获取行号
* @return * @return
*/ */
public int getRowNum();
public Integer getRowNum();


/** /**
* 设置行号 * 设置行号
* @param rowNum * @param rowNum
*/ */
public void setRowNum(int rowNum);
public void setRowNum(Integer rowNum);


} }

Loading…
Cancel
Save