xuhy
2025-06-16 0efe6213bfdd3281f73d91579b50b88e4ec8cb49
ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysUser.java
@@ -33,12 +33,19 @@
    /** 部门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("templateId")
    @ApiModelProperty(value = "所属任务模板id")
    private String templateId;
    /** 用户昵称 */
    //@Excel(name = "用户名称")
@@ -124,6 +131,7 @@
    private Integer districtId;
    @TableField(exist = false)
    @ApiModelProperty("角色名称")
    private String roleName;
    @TableField(exist = false)
    private String deptName;
@@ -181,12 +189,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;
    }