|
@@ -119,9 +119,11 @@ public class XxlJobService {
|
|
|
private void sendFeishuPublishPlanNotPushWarn(NotPublishPlan publishPlan) {
|
|
|
Long todayStart = DateUtils.getTodayStart();
|
|
|
List<PublishAccount> publishAccounts = aigcBaseMapper.getPublishAccounts(publishPlan.getPlanId(), todayStart);
|
|
|
- List<String> accountNames = new ArrayList<>();
|
|
|
+ List<String> accountNames;
|
|
|
if (CollectionUtil.isNotEmpty(publishAccounts)) {
|
|
|
accountNames = publishAccounts.stream().map(PublishAccount::getName).collect(Collectors.toList());
|
|
|
+ } else {
|
|
|
+ return;
|
|
|
}
|
|
|
if (StringUtils.hasText(publishPlan.getErrorMsg()) && (
|
|
|
publishPlan.getErrorMsg().contains("45028")
|