|
@@ -481,7 +481,7 @@ public class WeComMessageDataJob {
|
|
|
example.createCriteria().andIsSendEqualTo(0).andCreateTimeGreaterThan(DateUtil.getThatDayDate());
|
|
example.createCriteria().andIsSendEqualTo(0).andCreateTimeGreaterThan(DateUtil.getThatDayDate());
|
|
|
long l = sendMessageMapper.countByExample(example);
|
|
long l = sendMessageMapper.countByExample(example);
|
|
|
if (l > 0) {
|
|
if (l > 0) {
|
|
|
- LarkRobotUtil.sendMessage("存在发送失败消息,请检查@薛一鸣");
|
|
|
|
|
|
|
+ LarkRobotUtil.sendMessage("存在发送失败消息,请检查<at user_id=\"g6732afb\">王云鹏</at>");
|
|
|
}
|
|
}
|
|
|
return ReturnT.SUCCESS;
|
|
return ReturnT.SUCCESS;
|
|
|
}
|
|
}
|
|
@@ -592,7 +592,7 @@ public class WeComMessageDataJob {
|
|
|
GuaranteedParam guaranteedParam = messageAttachmentService.getGuaranteedVideo(DateUtil.getNextDayDateString());
|
|
GuaranteedParam guaranteedParam = messageAttachmentService.getGuaranteedVideo(DateUtil.getNextDayDateString());
|
|
|
if (guaranteedParam == null
|
|
if (guaranteedParam == null
|
|
|
|| CollectionUtils.isEmpty(guaranteedParam.getVideoParamList())) {
|
|
|| CollectionUtils.isEmpty(guaranteedParam.getVideoParamList())) {
|
|
|
- LarkRobotUtil.sendMessage("@薛一鸣 保底视频异常,请检查" + DateUtil.getNextDayDateString());
|
|
|
|
|
|
|
+ LarkRobotUtil.sendMessage("<at user_id=\"g6732afb\">王云鹏</at> 保底视频异常,请检查" + DateUtil.getNextDayDateString());
|
|
|
}
|
|
}
|
|
|
return ReturnT.SUCCESS;
|
|
return ReturnT.SUCCESS;
|
|
|
}
|
|
}
|
|
@@ -604,7 +604,8 @@ public class WeComMessageDataJob {
|
|
|
List<Long> videoIds = getTopThousandVideoIds();
|
|
List<Long> videoIds = getTopThousandVideoIds();
|
|
|
if (CollectionUtils.isEmpty(videoIds)) {
|
|
if (CollectionUtils.isEmpty(videoIds)) {
|
|
|
XxlJobLogger.log("保底视频查询异常");
|
|
XxlJobLogger.log("保底视频查询异常");
|
|
|
- LarkRobotUtil.sendMessage("addMessageAttachmentJob 保底视频添加任务异常,请检查" + dt);
|
|
|
|
|
|
|
+ LarkRobotUtil.sendMessage("addMessageAttachmentJob 保底视频添加任务异常,请检查 " + dt
|
|
|
|
|
+ + " <at user_id=\"g6732afb\">王云鹏</at>");
|
|
|
return ReturnT.FAIL;
|
|
return ReturnT.FAIL;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -617,7 +618,8 @@ public class WeComMessageDataJob {
|
|
|
}
|
|
}
|
|
|
if (currentVideoIds.size() < MAX_VIDEO_NUM) {
|
|
if (currentVideoIds.size() < MAX_VIDEO_NUM) {
|
|
|
XxlJobLogger.log("保底视频可用数量不足,无法凑齐3个有效视频");
|
|
XxlJobLogger.log("保底视频可用数量不足,无法凑齐3个有效视频");
|
|
|
- LarkRobotUtil.sendMessage("addMessageAttachmentJob 保底视频可用数量不足,无法凑齐3个有效视频,请检查" + dt);
|
|
|
|
|
|
|
+ LarkRobotUtil.sendMessage("addMessageAttachmentJob 保底视频可用数量不足,无法凑齐3个有效视频,请检查 " + dt
|
|
|
|
|
+ + " <at user_id=\"g6732afb\">王云鹏</at>");
|
|
|
return ReturnT.FAIL;
|
|
return ReturnT.FAIL;
|
|
|
}
|
|
}
|
|
|
GuaranteedParam guaranteedParam = new GuaranteedParam();
|
|
GuaranteedParam guaranteedParam = new GuaranteedParam();
|