新增 当前用户 user.getRoleList() 支持返回 岗位关联角色数据
This commit is contained in:
@@ -20,7 +20,7 @@ import com.jeesite.common.mybatis.annotation.Table;
|
||||
},
|
||||
joinTable={
|
||||
@JoinTable(type=JoinTable.Type.LEFT_JOIN, entity=Role.class, alias="r", lazy = true,
|
||||
on="a.role_code = r.role_code", attrName="role",
|
||||
on="a.role_code = r.role_code AND r.status = ${STATUS_NORMAL}", attrName="role",
|
||||
columns={
|
||||
@Column(name="role_code", attrName="roleCode", label="角色编码", isPK=true),
|
||||
@Column(name="role_name", attrName="roleName", label="角色名称"),
|
||||
|
||||
Reference in New Issue
Block a user