|
@@ -87,6 +87,9 @@ public class SaasAccountRoleServiceImpl implements ISaasAccountRoleService {
|
|
|
|
|
|
@Override
|
|
|
public List<SaasAccountRole> querySaasAccountRoleListByAccountIdList(List<String> accountIdList) {
|
|
|
+ if (CollectionUtils.isEmpty(accountIdList)) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
QuerySaasAccountRoleDTO querySaasAccountRoleDTO = new QuerySaasAccountRoleDTO();
|
|
|
querySaasAccountRoleDTO.setAccountIds(accountIdList);
|
|
|
return querySaasAccountRoleList(querySaasAccountRoleDTO);
|
|
@@ -94,6 +97,9 @@ public class SaasAccountRoleServiceImpl implements ISaasAccountRoleService {
|
|
|
|
|
|
@Override
|
|
|
public Map<String, AccountRoleVO> queryAccountRoleVoMapByAccountIdList(List<String> accountIdList) {
|
|
|
+ if (CollectionUtils.isEmpty(accountIdList)) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
List<SaasAccountRole> saasAccountRoles = querySaasAccountRoleListByAccountIdList(accountIdList);
|
|
|
|
|
|
if (CollectionUtils.isEmpty(saasAccountRoles)) {
|