update 优化 excel 导出字典默认转为下拉框

This commit is contained in:
疯狂的狮子Li
2023-07-28 20:08:53 +08:00
parent ec6704181f
commit fea9fdaa5f
10 changed files with 18 additions and 17 deletions

View File

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