This commit is contained in:
guohb
2024-05-22 15:28:45 +08:00
parent 82507b31fa
commit 3b0ffb45cf

View File

@@ -121,9 +121,6 @@ public class ApplyLicenseServiceImpl implements ApplyLicenseService {
List<String> sendUserIds = userAuthByMappingIds.stream().map(UserAuthMappingDO::getUserId).collect(Collectors.toList()); List<String> sendUserIds = userAuthByMappingIds.stream().map(UserAuthMappingDO::getUserId).collect(Collectors.toList());
if (CollectionUtils.isNotEmpty(sendUserIds)){ if (CollectionUtils.isNotEmpty(sendUserIds)){
sendUsers = enterpriseUserRoleMapper.getUserIdsByRoleIds(Collections.singletonList("130000000"), sendUserIds); sendUsers = enterpriseUserRoleMapper.getUserIdsByRoleIds(Collections.singletonList("130000000"), sendUserIds);
if (CollectionUtils.isNotEmpty(sendUsers)){
sendUsers.addAll(sendUserIds);
}
} }
} }
} else { } else {