|
|
@@ -614,9 +614,11 @@ public class TenantServiceImpl implements TenantService { |
|
|
|
log.info("交集集合:{}", coincideClientRoleDtoList.toString()); |
|
|
|
//交集集合做更新操作 |
|
|
|
for (ClientRoleDto clientRoleDto : coincideClientRoleDtoList) { |
|
|
|
JsonResult editResult = editResult(clientTenantDto, clientRoleDto.getClientId(), loginUser); |
|
|
|
if (editResult.getCode() != JsonResult.SUCCESS) { |
|
|
|
return editResult; |
|
|
|
try { |
|
|
|
editResult(clientTenantDto, clientRoleDto.getClientId(), loginUser); |
|
|
|
} catch (Exception e) { |
|
|
|
log.info("异常信息捕获,平台标识:{}", clientRoleDto.getClientId()); |
|
|
|
log.info("异常信息:{}", e.getMessage()); |
|
|
|
} |
|
|
|
} |
|
|
|
//新增 |
|
|
@@ -637,7 +639,6 @@ public class TenantServiceImpl implements TenantService { |
|
|
|
for (ClientRoleDto clientRoleDto : finalClientRoleDtoList) { |
|
|
|
clientUserRoleMapper.deleteByUserIdAndClient(tenant.getUserId(), clientRoleDto.getClientId()); |
|
|
|
authoritiesMapper.deleteByUserIdAndClient(tenant.getUserId(), clientRoleDto.getClientId()); |
|
|
|
|
|
|
|
} |
|
|
|
log.info("租户原有关联各业务平台不同权限表删除完毕"); |
|
|
|
|