|
|
@@ -257,18 +257,19 @@ public class FosterwxCashScheduleTaskListServiceImpl extends ServiceImpl<Fosterw
|
|
|
}
|
|
|
FosterwxCashOasBox fosterwxCashOasBox = fosterwxCashOasBoxService.getRandBox(fosterwxCashScheduleTaskList.getGroupId(),fosterwxCashScheduleTaskList.getType());
|
|
|
|
|
|
- if (null == fosterwxCashOasBox) {
|
|
|
- // 状态
|
|
|
- fosterwxCashScheduleTaskList.setStatus(3);
|
|
|
- // 失败原因
|
|
|
- fosterwxCashScheduleTaskList.setErrInfo("该分组下没有可用的公众号");
|
|
|
-
|
|
|
- fosterwxCashScheduleTaskListMapper.updateById(fosterwxCashScheduleTaskList);
|
|
|
-
|
|
|
- return;
|
|
|
- }
|
|
|
-
|
|
|
- fosterwxCashOasBoxService.addSendTextCnt(fosterwxCashScheduleTaskList.getGroupId(), fosterwxCashOasBox.getGhId());
|
|
|
+ // FosterwxCashOasBox fosterwxCashOasBox = fosterwxCashOasBoxService.getRandBox(fosterwxCashScheduleTaskList.getGroupId());
|
|
|
+ // if (null == fosterwxCashOasBox) {
|
|
|
+ // // 状态
|
|
|
+ // fosterwxCashScheduleTaskList.setStatus(3);
|
|
|
+ // // 失败原因
|
|
|
+ // fosterwxCashScheduleTaskList.setErrInfo("该分组下没有可用的公众号");
|
|
|
+ //
|
|
|
+ // fosterwxCashScheduleTaskListMapper.updateById(fosterwxCashScheduleTaskList);
|
|
|
+ //
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
+
|
|
|
+ fosterwxCashOasBoxService.addSendTextCnt(fosterwxCashScheduleTaskList.getGroupId(), fosterwxCashWorkwxTaskList.getGhId());
|
|
|
|
|
|
// 状态
|
|
|
if (3 != fosterwxCashWorkwxTaskList.getTaskType())
|