commit
This commit is contained in:
@@ -407,7 +407,7 @@ public class SysUserServiceImpl extends BaseServiceImpl<Sys_user> implements Sys
|
|||||||
// 工会关系人员
|
// 工会关系人员
|
||||||
SpecialStaff staff = dao().fetch(SpecialStaff.class, Cnd.where("userId", "=", user.getId()));
|
SpecialStaff staff = dao().fetch(SpecialStaff.class, Cnd.where("userId", "=", user.getId()));
|
||||||
if (Lang.isNotEmpty(staff)) {
|
if (Lang.isNotEmpty(staff)) {
|
||||||
Sys_union union = dao().fetch(Sys_union.class, viewUser.getUnionId());
|
Sys_union union = dao().fetch(Sys_union.class, staff.getUnionRelationUnionId());
|
||||||
user.setUnion(union);
|
user.setUnion(union);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user