Browse Source

优化用户导出

dev-active_learn
chenzhihang 10 months ago
parent
commit
286754bfda
1 changed files with 4 additions and 5 deletions
  1. +4
    -5
      ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/domain/SysUser.java

+ 4
- 5
ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/domain/SysUser.java View File

@@ -55,7 +55,7 @@ public class SysUser extends BaseEntity {
/** /**
* 用户邮箱 * 用户邮箱
*/ */
@ExcelProperty(value = "用户邮箱", order = 4)
@ExcelProperty(value = "邮箱", order = 4)
private String email; private String email;


/** /**
@@ -69,7 +69,7 @@ public class SysUser extends BaseEntity {
*/ */
private String sex; private String sex;


@ExcelProperty(value = "用户性别", order = 6)
@ExcelProperty(value = "性别", order = 6)
private String sexName; private String sexName;


/** /**
@@ -87,7 +87,6 @@ public class SysUser extends BaseEntity {
/** /**
* 帐号状态(0正常 1停用) * 帐号状态(0正常 1停用)
*/ */
@ExcelProperty(value = "帐号状态", order = 7)
private String status; private String status;


/** /**
@@ -98,14 +97,14 @@ public class SysUser extends BaseEntity {
/** /**
* 最后登录IP * 最后登录IP
*/ */
@ExcelProperty(value = "最后登录IP", order = 8)
@ExcelProperty(value = "最后登录IP", order = 7)
private String loginIp; private String loginIp;


/** /**
* 最后登录时间 * 最后登录时间
*/ */
// @Excel(name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Type.EXPORT) // @Excel(name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Type.EXPORT)
@ExcelProperty(value = "最后登录时间", order = 9)
@ExcelProperty(value = "最后登录时间", order = 8)
private Date loginDate; private Date loginDate;


/** /**


Loading…
Cancel
Save