疯狂的狮子Li
2024-01-06 e7ca94bab1ef85efe4786a38669e2cca97ac406d
ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/domain/vo/SysUserExportVo.java
@@ -20,7 +20,6 @@
@Data
@NoArgsConstructor
@AutoMapper(target = SysUserVo.class, convertGenerate = false)
public class SysUserExportVo implements Serializable {
    @Serial
@@ -59,14 +58,14 @@
    /**
     * 用户性别
     */
    @ExcelProperty(value = "用户性别", index = 6, converter = ExcelDictConvert.class)
    @ExcelProperty(value = "用户性别", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_user_sex")
    private String sex;
    /**
     * 帐号状态(0正常 1停用)
     */
    @ExcelProperty(value = "帐号状态", index = 7, converter = ExcelDictConvert.class)
    @ExcelProperty(value = "帐号状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_normal_disable")
    private String status;
@@ -85,15 +84,13 @@
    /**
     * 部门名称
     */
    @ReverseAutoMapping(target = "deptName", source = "dept.deptName")
    @ExcelProperty(value = "部门名称")
    private String deptName;
    /**
     * 负责人
     */
    @ReverseAutoMapping(target = "leader", source = "dept.leader")
    @ExcelProperty(value = "部门负责人")
    private String leader;
    private String leaderName;
}