Ver código fonte

用户导出修改

gao.qiang 1 ano atrás
pai
commit
507c3797f9

+ 2 - 3
base-common/src/main/java/com/ozs/common/core/domain/entity/SysUser.java

@@ -54,9 +54,6 @@ public class SysUser extends BaseEntity {
     /**
      * 部门对象
      */
-    @Excels({
-            @Excel(name = "部门名称", targetAttr = "deptName", type = Type.EXPORT)})
-    @TableField(exist = false)
     private SysDept dept;
     
 
@@ -147,6 +144,8 @@ public class SysUser extends BaseEntity {
     /**
      * 部门名称
      */
+    @Excels({
+            @Excel(name = "部门名称", type = Type.EXPORT)})
     @TableField(exist = false)
     private String deptName;