Commit ea4ca187c766e8a5242c3ec9f8f6ba853f3c5def
1 parent
b8628f75
解决配置文件导出缺少参数键名及其他字段不正确的问题
Showing
1 changed file
with
5 additions
and
5 deletions
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/config/vo/ConfigExcelVO.java
| @@ -18,10 +18,10 @@ public class ConfigExcelVO { | @@ -18,10 +18,10 @@ public class ConfigExcelVO { | ||
| 18 | private Long id; | 18 | private Long id; |
| 19 | 19 | ||
| 20 | @ExcelProperty("参数键名") | 20 | @ExcelProperty("参数键名") |
| 21 | - private String key; | 21 | + private String configKey; |
| 22 | 22 | ||
| 23 | - @ExcelProperty("参数分组") | ||
| 24 | - private String group; | 23 | + @ExcelProperty("参数分类") |
| 24 | + private String category; | ||
| 25 | 25 | ||
| 26 | @ExcelProperty("参数名称") | 26 | @ExcelProperty("参数名称") |
| 27 | private String name; | 27 | private String name; |
| @@ -33,9 +33,9 @@ public class ConfigExcelVO { | @@ -33,9 +33,9 @@ public class ConfigExcelVO { | ||
| 33 | @DictFormat(DictTypeConstants.CONFIG_TYPE) | 33 | @DictFormat(DictTypeConstants.CONFIG_TYPE) |
| 34 | private Integer type; | 34 | private Integer type; |
| 35 | 35 | ||
| 36 | - @ExcelProperty(value = "是否敏感", converter = DictConvert.class) | 36 | + @ExcelProperty(value = "是否可见", converter = DictConvert.class) |
| 37 | @DictFormat(DictTypeConstants.BOOLEAN_STRING) | 37 | @DictFormat(DictTypeConstants.BOOLEAN_STRING) |
| 38 | - private Boolean sensitive; | 38 | + private Boolean visible; |
| 39 | 39 | ||
| 40 | @ExcelProperty("备注") | 40 | @ExcelProperty("备注") |
| 41 | private String remark; | 41 | private String remark; |