|
@@ -427,6 +427,9 @@ public class ArticleAuditService {
|
|
|
Map<String, PublishAccountTypeDTO> accountTypeMap) {
|
|
|
List<String> publishContentIds = alarmList.stream().map(o -> o.getString("publishContentId"))
|
|
|
.collect(Collectors.toList());
|
|
|
+ if (CollectionUtils.isEmpty(publishContentIds)) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
List<PublishContentDTO> publishContents = aigcBaseMapper.getPublishContentByIdIn(publishContentIds);
|
|
|
Map<String, PublishContentDTO> publishContentMap = publishContents.stream()
|
|
|
.collect(Collectors.toMap(PublishContentDTO::getId, Function.identity()));
|