|
@@ -173,9 +173,10 @@ public class CoreServiceImpl implements CoreService {
|
|
|
planAccount.setSortStrategy(sortStgMap.get(accountId));
|
|
|
}
|
|
|
planAccount.setPushType(longArticleSystemPlan.getPushType());
|
|
|
- if (CollectionUtils.isEmpty(specialAccountIds) || !specialAccountIds.contains(planAccount.getAccountId())) {
|
|
|
- planAccountService.saveOrUpdatePlanAccount(planAccount);
|
|
|
+ if (!CollectionUtils.isEmpty(specialAccountIds) && specialAccountIds.contains(planAccount.getAccountId())) {
|
|
|
+ planAccount.setSpecialNotSend(SpecialNotSendEnum.NOT_SEND.getStatusCode());
|
|
|
}
|
|
|
+ planAccountService.saveOrUpdatePlanAccount(planAccount);
|
|
|
}
|
|
|
if (CollectionUtils.isEmpty(accountIdSet)) {
|
|
|
continue;
|
|
@@ -209,7 +210,7 @@ public class CoreServiceImpl implements CoreService {
|
|
|
continue;
|
|
|
}
|
|
|
for (PlanAccount planAccount : planAccountList) {
|
|
|
- planAccount.setPublishOpenFlag(0);
|
|
|
+ planAccount.setSpecialNotSend(SpecialNotSendEnum.NOT_SEND.getStatusCode());
|
|
|
planAccountService.saveOrUpdatePlanAccount(planAccount);
|
|
|
}
|
|
|
}
|
|
@@ -566,7 +567,7 @@ public class CoreServiceImpl implements CoreService {
|
|
|
}));
|
|
|
}
|
|
|
List<PlanAccount> planAccounts;
|
|
|
- planAccounts = planAccountService.getNormalPlanAccount();
|
|
|
+ planAccounts = planAccountService.getSendNormalPlanAccount();
|
|
|
if (CollectionUtils.isEmpty(planAccounts)) {
|
|
|
return;
|
|
|
}
|