Excel支持sort导出排序

This commit is contained in:
RuoYi
2020-07-10 11:54:19 +08:00
parent 8d165f4919
commit d56d6ac5ac
2 changed files with 8 additions and 0 deletions

View File

@ -14,6 +14,11 @@ import java.lang.annotation.Target;
@Target(ElementType.FIELD)
public @interface Excel
{
/**
* 导出时在excel中排序
*/
public int sort() default Integer.MAX_VALUE;
/**
* 导出到Excel中的名字.
*/