|
|
@@ -125,6 +125,7 @@ public class AccountServiceImpl implements AccountService {
|
|
|
|
|
|
@Override
|
|
|
public void bindRoles(Long accountId, String roleIds) {
|
|
|
+ accountRoleMapper.unBindRolesById(accountId);
|
|
|
String[] array = roleIds.split(",");
|
|
|
for (int i = 0; i < array.length; i++){
|
|
|
bindRole(accountId, Long.parseLong(array[i]));
|