`
potaly
  • 浏览: 1602 次
  • 性别: Icon_minigender_1
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
http://blog.csdn.net/ralbatr/article/details/8041927
for(int j=2;j< 30;j++){ paramMap.put("ATTRIBUTE"+(j-1), sheet.getCell(i).getContents().trim()); } 上述代码 sheet.getCell(i).getContents() 当单元格为空时,报ArrayIndexOutOfBoundsException 解决方案:sheet.getCell(i).getContents() 替换为 sheet.getCell(j,i).getContents() j代表列 i代 ...
function indexOf(arr, item) { var re =-1; for(var i=0;i<arr.length;i++){ if(item==arr[i]){ re =i; } } return re; }
Global site tag (gtag.js) - Google Analytics