无关风月
2025-06-21 39bf67fdaef1913882a3572849356716bfc3c4ce
ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysUser.java
@@ -33,12 +33,22 @@
    /** 部门ID */
    //@Excel(name = "部门编号", type = Type.IMPORT)
    @ApiModelProperty(value = "部门id")
    private Long deptId;
    @TableField("deptId")
    private String deptId;
    /** 用户账号 */
    //@Excel(name = "登录名称")
    @ApiModelProperty(value = "登录名称")
    private String userName;
    @TableField("dept_type")
    @ApiModelProperty(value = "部门类型 1项目部 2部门")
    private Integer deptType;
    @TableField("code")
    @ApiModelProperty(value = "编号")
    private String code;
    @TableField("templateId")
    @ApiModelProperty(value = "所属任务模板id")
    private String templateId;
    /** 用户昵称 */
    //@Excel(name = "用户名称")
@@ -124,6 +134,7 @@
    private Integer districtId;
    @TableField(exist = false)
    @ApiModelProperty("角色名称")
    private String roleName;
    @TableField(exist = false)
    private String deptName;
@@ -181,12 +192,12 @@
        return userId != null && 1L == userId;
    }
    public Long getDeptId()
    public String getDeptId()
    {
        return deptId;
    }
    public void setDeptId(Long deptId)
    public void setDeptId(String deptId)
    {
        this.deptId = deptId;
    }