Commit 2f3728dc by 王军业

[属于用户对应的权限,可以少不能多]

1 parent f22f8e7d
......@@ -87,7 +87,7 @@ public class ImportExcel {
List<Map> successList=result.getList();
if(successList != null && successList.size() > 0) {
Map<String,Object> headerTitle = successList.get(0);
if(headerTitle.size()==columns.length) {
if(headerTitle.size()<=columns.length) {
Set<String> hashColumns=new HashSet<String>(Arrays.asList(columns));
Set<String> keys=headerTitle.keySet();
if(hashColumns.containsAll(keys)) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!