Commit becb271a authored by chenzhao's avatar chenzhao

管理员置换去除空角色

parent 331cff4f
......@@ -403,6 +403,10 @@ public class PersonnelBusinessServiceImpl extends BaseService<PersonnelBusinessD
roid=new ArrayList<>();
}
roid.add(userGroupId);
if (roid.contains(userGroupempty)){
roid.remove(userGroupempty);
Privilege.groupUserClient.deleteGroupUser(userGroupempty,publicAgencyUsex.getAmosUserId());
}
publicAgencyUse.setRole(JSON.toJSONString(roid));
publicAgencyUserMapper.updateById(publicAgencyUsex);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment