ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysUser.java
@@ -25,6 +25,9 @@ @Excel(name = "用户序号", type = Type.EXPORT, cellType = ColumnType.NUMERIC, prompt = "用户编号") private Long userId; /** 排序下标 */ private Integer sort; /** 部门ID */ @Excel(name = "部门编号", type = Type.IMPORT) private Long deptId; @@ -124,6 +127,14 @@ this.userId = userId; } public Integer getSort() { return sort; } public void setSort(Integer sort) { this.sort = sort; } public boolean isAdmin() { return isAdmin(this.userId);