mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
修复MapRowHandler结果Map无序问题
This commit is contained in:
parent
8b1f28913e
commit
e80ef50246
@ -47,7 +47,7 @@ public abstract class MapRowHandler extends AbstractRowHandler<Map<String, Objec
|
|||||||
public MapRowHandler(final int headerRowIndex, final int startRowIndex, final int endRowIndex){
|
public MapRowHandler(final int headerRowIndex, final int startRowIndex, final int endRowIndex){
|
||||||
super(startRowIndex, endRowIndex);
|
super(startRowIndex, endRowIndex);
|
||||||
this.headerRowIndex = headerRowIndex;
|
this.headerRowIndex = headerRowIndex;
|
||||||
this.convertFunc = (rowList)-> IterUtil.toMap(headerList, rowList);
|
this.convertFunc = (rowList)-> IterUtil.toMap(headerList, rowList, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user