修复MapRowHandler结果Map无序问题

This commit is contained in:
Looly
2023-05-26 10:32:19 +08:00
parent 2e88e74cae
commit dad1790b95
2 changed files with 3 additions and 2 deletions

View File

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