HTTP配置增加excel导入功能,但导入功能按钮暂时隐藏,待后续完善。
Signed-off-by: zhangwei <zhangwei@intranet.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user