dept
This commit is contained in:
parent
2f1714b4da
commit
ec1a298fde
|
|
@ -56,11 +56,6 @@ public class SysUser extends BaseEntity {
|
|||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long firstLevelDeptId;
|
||||
|
||||
/**
|
||||
* 是否客户,判断是否能够登录后台管理页面
|
||||
*/
|
||||
private String isCustomer;
|
||||
|
||||
/**
|
||||
* 用户账号
|
||||
*/
|
||||
|
|
@ -176,6 +171,16 @@ public class SysUser extends BaseEntity {
|
|||
private String isBuiltIn = "1";
|
||||
|
||||
|
||||
@ApiModelProperty("区域id")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long areaId;
|
||||
|
||||
@ApiModelProperty("人员类别")
|
||||
private String psnType;
|
||||
|
||||
@ApiModelProperty("人员类别名称")
|
||||
private String psnTypeName;
|
||||
|
||||
@ApiModelProperty("客户端人员id")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long custId;
|
||||
|
|
@ -183,6 +188,10 @@ public class SysUser extends BaseEntity {
|
|||
@ApiModelProperty("客户端人员编号")
|
||||
private String custNum;
|
||||
|
||||
/**
|
||||
* 是否客户,判断是否能够登录后台管理页面
|
||||
*/
|
||||
private String isCustomer;
|
||||
|
||||
public SysUser() {
|
||||
|
||||
|
|
@ -409,6 +418,30 @@ public class SysUser extends BaseEntity {
|
|||
this.isPermanent = isPermanent;
|
||||
}
|
||||
|
||||
public Long getAreaId() {
|
||||
return areaId;
|
||||
}
|
||||
|
||||
public void setAreaId(Long areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public String getPsnType() {
|
||||
return psnType;
|
||||
}
|
||||
|
||||
public void setPsnType(String psnType) {
|
||||
this.psnType = psnType;
|
||||
}
|
||||
|
||||
public String getPsnTypeName() {
|
||||
return psnTypeName;
|
||||
}
|
||||
|
||||
public void setPsnTypeName(String psnTypeName) {
|
||||
this.psnTypeName = psnTypeName;
|
||||
}
|
||||
|
||||
public Long getCustId() {
|
||||
return custId;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,6 +32,10 @@
|
|||
<result property="isCustomer" column="is_customer"/>
|
||||
<result property="custId" column="cust_id"/>
|
||||
<result property="custNum" column="cust_num"/>
|
||||
<result property="areaId" column="area_id"/>
|
||||
<result property="psnType" column="psn_type"/>
|
||||
<result property="psnTypeName" column="psn_type_name"/>
|
||||
<result property="isCustomer" column="is_customer"/>
|
||||
<association property="dept" javaType="SysDept" resultMap="deptResult"/>
|
||||
<collection property="roles" javaType="java.util.List" resultMap="RoleResult"/>
|
||||
</resultMap>
|
||||
|
|
@ -112,7 +116,9 @@
|
|||
|
||||
<select id="selectUserList" parameterType="SysUser" resultMap="SysUserResult">
|
||||
select u.user_id, u.dept_id, u.nick_name, u.user_name, u.email, u.avatar, u.phonenumber,u.sex, u.status,
|
||||
u.del_flag, u.login_ip, u.login_date, u.create_by, u.create_time, u.remark,u.approval_status,u.is_permanent,u.is_built_in, d.dept_name,
|
||||
u.del_flag, u.login_ip, u.login_date, u.create_by, u.create_time, u.remark,u.approval_status,u.is_permanent,u.is_built_in,
|
||||
u.cust_id, u.cust_num, u.area_id, u.psn_type, u.psn_type_name, u.is_customer,
|
||||
d.dept_name,
|
||||
d.leader,r.role_id,
|
||||
r.role_name,
|
||||
r.role_key,
|
||||
|
|
|
|||
Loading…
Reference in New Issue