|
@@ -559,6 +559,14 @@ public class CoreServiceImpl implements CoreService {
|
|
|
LarkRobotUtil.sendMessage("计划发布失败3次,请查看 账号计划id为" + planAccount.getPlanId());
|
|
|
return false;
|
|
|
}
|
|
|
+ }else {
|
|
|
+ //其他群发最多重试5次
|
|
|
+ if (planAccount.getRetryCount() >= 5) {
|
|
|
+ planAccount.setStatus(3);
|
|
|
+ planAccountMapper.updateByPrimaryKeySelective(planAccount);
|
|
|
+ LarkRobotUtil.sendMessage("计划发布失败5次,请查看 账号计划id为" + planAccount.getPlanId());
|
|
|
+ return false;
|
|
|
+ }
|
|
|
}
|
|
|
Integer publishNum = planAccount.getPublishNum();
|
|
|
int size = 0;
|