Browse Source

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

developing
Jiaju Zhuang 4 years ago
parent
commit
ab07bbeb86
  1. 5
      src/test/java/com/alibaba/easyexcel/test/core/sort/SortData.java

5
src/test/java/com/alibaba/easyexcel/test/core/sort/SortData.java

@ -9,13 +9,12 @@ import lombok.Data;
*/
@Data
public class SortData {
private String column5;
private String column6;
@ExcelProperty(order = 99)
private String column3;
@ExcelProperty(order = 100)
private String column4;
@ExcelProperty(order = 99)
private String column3;
@ExcelProperty(value = "column2", index = 1)
private String column2;
@ExcelProperty(value = "column1", index = 0)

Loading…
Cancel
Save