解决配置文件导出缺少参数键名及其他字段不正确的问题

This commit is contained in:
shizhong 2023-03-30 15:56:07 +08:00
parent b8628f75c5
commit ea4ca187c7

View File

@ -18,10 +18,10 @@ public class ConfigExcelVO {
private Long id; private Long id;
@ExcelProperty("参数键名") @ExcelProperty("参数键名")
private String key; private String configKey;
@ExcelProperty("参数分") @ExcelProperty("参数分")
private String group; private String category;
@ExcelProperty("参数名称") @ExcelProperty("参数名称")
private String name; private String name;
@ -33,9 +33,9 @@ public class ConfigExcelVO {
@DictFormat(DictTypeConstants.CONFIG_TYPE) @DictFormat(DictTypeConstants.CONFIG_TYPE)
private Integer type; private Integer type;
@ExcelProperty(value = "是否敏感", converter = DictConvert.class) @ExcelProperty(value = "是否可见", converter = DictConvert.class)
@DictFormat(DictTypeConstants.BOOLEAN_STRING) @DictFormat(DictTypeConstants.BOOLEAN_STRING)
private Boolean sensitive; private Boolean visible;
@ExcelProperty("备注") @ExcelProperty("备注")
private String remark; private String remark;