|
@@ -175,13 +175,10 @@ public class WeComHistoryDataJob {
|
|
|
failSendCount += sendCountList.get(3);
|
|
|
if (count != 0 && sendCountList.get(0) > 0 && !specialStaffIdList.contains(sendDetail.getStaffId())) {
|
|
|
LarkRobotUtil.sendMessage(sendDetail.getRemark() + "存在未发送记录,请检查");
|
|
|
- if (sendDetail.getStaffId() == 3) {
|
|
|
- LarkRobotUtil.sendTipMessage(sendDetail.getRemark() + "存在未发送记录,请检查");
|
|
|
- } else {
|
|
|
- //8点前报警
|
|
|
- if (DateUtil.getHourOfDay() < 8) {
|
|
|
- LarkRobotUtil.sendNotPushMessage("<at user_id=\"all\">所有人</at> " + sendDetail.getRemark() + " 存在未发送记录,请检查");
|
|
|
- }
|
|
|
+ LarkRobotUtil.sendTipMessage(sendDetail.getRemark() + "存在未发送记录,请检查");
|
|
|
+ //8点前报警
|
|
|
+ if (DateUtil.getHourOfDay() < 8) {
|
|
|
+ LarkRobotUtil.sendNotPushMessage("<at user_id=\"all\">所有人</at> " + sendDetail.getRemark() + " 存在未发送记录,请检查");
|
|
|
}
|
|
|
}
|
|
|
stringBuilder.append("总发送数量:").append(count).append(" ");
|