智慧保安后台管理-外网项目备份
zhongrj
2023-12-01 017eb910885df47659899802af36f4f8588399e6
模板导出问题处理
1 files modified
5 ■■■■■ changed files
src/main/java/org/springblade/modules/system/excel/SecurityExcel.java 5 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/system/excel/SecurityExcel.java
@@ -7,6 +7,7 @@
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springblade.common.excel.ExcelDictConverter;
import org.springblade.common.excel.ExcelDictItem;
import org.springblade.common.excel.ExcelDictItemLabel;
import java.io.Serializable;
@@ -38,6 +39,7 @@
    @ExcelProperty(value = "性别*(男/女)",converter = ExcelDictConverter.class)
    @ColumnWidth(10)
    @ExcelDictItemLabel(type = "sex")
    @ExcelDictItem(type = "sex")
    private String sex;
    @ExcelProperty("身份证号*")
@@ -58,6 +60,7 @@
    @ExcelProperty(value = "最高学历*(初中及以下/高中/中技/中专/大专/本科/博士/硕士)",converter = ExcelDictConverter.class)
    @ColumnWidth(20)
    @ExcelDictItemLabel(type = "educationType")
    @ExcelDictItem(type = "educationType")
    private String education;
    @ExcelProperty("政治面貌*")
@@ -71,12 +74,14 @@
     */
    @ExcelProperty(value = "婚姻状态*(未婚/已婚/离异/丧偶)",converter = ExcelDictConverter.class)
    @ExcelDictItemLabel(type = "marriageStatusType")
    @ExcelDictItem(type = "marriageStatusType")
    private String marriageStatus;
    /**
     * 报考等级
     */
    @ExcelProperty(value = "报考等级(初级/中级/高级/特级)",converter = ExcelDictConverter.class)
    @ExcelDictItemLabel(type = "signLevelType")
    @ExcelDictItem(type = "signLevelType")
    private String signLevel;
    /**
     * 户籍地址