修复MapRowHandler结果Map无序问题

This commit is contained in:
Looly 2023-05-26 10:32:28 +08:00
parent 8b1f28913e
commit e80ef50246

View File

@ -47,7 +47,7 @@ public abstract class MapRowHandler extends AbstractRowHandler<Map<String, Objec
public MapRowHandler(final int headerRowIndex, final int startRowIndex, final int endRowIndex){
super(startRowIndex, endRowIndex);
this.headerRowIndex = headerRowIndex;
this.convertFunc = (rowList)-> IterUtil.toMap(headerList, rowList);
this.convertFunc = (rowList)-> IterUtil.toMap(headerList, rowList, true);
}
@Override