Excel注解新增 dateFormat日期格式/readConverterExp读取内容转表达式

This commit is contained in:
RuoYi
2018-11-23 22:43:20 +08:00
parent a42c824e92
commit 4d2d5defb9
12 changed files with 76 additions and 41 deletions

View File

@ -18,6 +18,16 @@ public @interface Excel
* 导出到Excel中的名字.
*/
public abstract String name();
/**
* 日期格式, 如: yyyy-MM-dd
*/
public abstract String dateFormat() default "";
/**
* 读取内容转表达式 (如: 0=男,1=女,2=未知)
*/
public abstract String readConverterExp() default "";
/**
* 提示信息