|
@@ -531,6 +531,10 @@ public class CoreServiceImpl implements CoreService {
|
|
|
}
|
|
|
}
|
|
|
Integer publishNum = planAccount.getPublishNum();
|
|
|
+ if (StringUtils.isNotEmpty(planAccount.getExcludeContentIndex())) {
|
|
|
+ int size = JSONArray.parseArray(planAccount.getExcludeContentIndex(), Integer.class).size();
|
|
|
+ publishNum = publishNum - size;
|
|
|
+ }
|
|
|
if (publishNum == null || publishNum == 0) {
|
|
|
LarkRobotUtil.sendMessage("发布数量设置为0 planAccountId=" + planAccount.getId());
|
|
|
return false;
|