|
|
@@ -41,6 +41,10 @@ public class ImportParams extends ExcelBaseParams { |
|
|
|
* 主键设置,如何这个cell没有值,就跳过 或者认为这个是list的下面的值
|
|
|
|
*/
|
|
|
|
private int keyIndex = 0;
|
|
|
|
/**
|
|
|
|
* 开始读取的sheet位置,默认为0
|
|
|
|
*/
|
|
|
|
private int startSheetIndex = 0;
|
|
|
|
/**
|
|
|
|
* 上传表格需要读取的sheet 数量,默认为1
|
|
|
|
*/
|
|
|
@@ -135,4 +139,12 @@ public class ImportParams extends ExcelBaseParams { |
|
|
|
this.lastOfInvalidRow = lastOfInvalidRow;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getStartSheetIndex() {
|
|
|
|
return startSheetIndex;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setStartSheetIndex(int startSheetIndex) {
|
|
|
|
this.startSheetIndex = startSheetIndex;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|