HTTP配置增加excel导入功能,但导入功能按钮暂时隐藏,待后续完善。

Signed-off-by: zhangwei <zhangwei@intranet.com>
This commit is contained in:
zhangwei
2018-06-13 09:58:13 +08:00
parent 6765b49281
commit 295299fb66
9 changed files with 837 additions and 16 deletions

View File

@@ -167,7 +167,12 @@ public class ImportExcel {
* @return
*/
public int getLastDataRowNum(){
return this.sheet.getLastRowNum()+headerNum;
if(headerNum==0){
return this.sheet.getLastRowNum()+getDataRowNum();
}else{
return this.sheet.getLastRowNum()+headerNum;
}
}
/**