Browse Source

`ExcelProperty`新增`order` 用于排序

developing v2.2.5
Jiaju Zhuang 5 years ago
parent
commit
7485dc2277
  1. 4
      src/main/java/com/alibaba/excel/annotation/ExcelProperty.java

4
src/main/java/com/alibaba/excel/annotation/ExcelProperty.java

@ -34,7 +34,7 @@ public @interface ExcelProperty {
* *
* Read or write it on the index of column,If it's equal to -1, it's sorted by Java class. * Read or write it on the index of column,If it's equal to -1, it's sorted by Java class.
* *
* priority: index > order > default sort * priority: index > order > default sort
* *
* @return Index of column * @return Index of column
*/ */
@ -43,7 +43,7 @@ public @interface ExcelProperty {
/** /**
* Defines the sort order for an column. * Defines the sort order for an column.
* *
* priority: index > order > default sort * priority: index > order > default sort
* *
* @return Order of column * @return Order of column
*/ */

Loading…
Cancel
Save