Excel导出导入支持dictType字典类型

This commit is contained in:
RuoYi
2020-07-20 15:25:05 +08:00
parent cee572f237
commit 8a076e175f
3 changed files with 94 additions and 4 deletions

View File

@ -29,6 +29,11 @@ public @interface Excel
*/
public String dateFormat() default "";
/**
* 如果是字典类型请设置字典的type值
*/
public String dictType() default "";
/**
* 读取内容转表达式 (如: 0=男,1=女,2=未知)
*/
@ -115,4 +120,4 @@ public @interface Excel
return this.value;
}
}
}
}