update 优化 excel导出字典转下拉框 无需标记index自动处理(感谢一夏coco)

This commit is contained in:
疯狂的狮子Li
2023-08-01 13:22:00 +08:00
parent e82a031dd0
commit 7d209aeb41
9 changed files with 25 additions and 27 deletions

View File

@ -60,7 +60,7 @@ public class SysPost extends BaseEntity {
/**
* 状态0正常 1停用
*/
@ExcelProperty(value = "状态", index = 4, converter = ExcelDictConvert.class)
@ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
@ExcelDictFormat(dictType = "sys_normal_disable")
private String status;