|
@@ -161,17 +161,17 @@ public class WeComHistoryDataJob {
|
|
|
|
|
|
for (SendDetail sendDetail : sendDetailList) {
|
|
|
List<Long> sendCountList = sendDetail.getSendCountList();
|
|
|
- if (CollectionUtils.isEmpty(sendCountList)) {
|
|
|
- continue;
|
|
|
- }
|
|
|
stringBuilder.append(sendDetail.getRemark());
|
|
|
long count = sendCountList.get(0) + sendCountList.get(1) + sendCountList.get(2) + sendCountList.get(3);
|
|
|
+ if (count == 0) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
allCount += count;
|
|
|
notSendCount += sendCountList.get(0);
|
|
|
successSendCount += sendCountList.get(1);
|
|
|
notFriendCount += sendCountList.get(2);
|
|
|
failSendCount += sendCountList.get(3);
|
|
|
- if (count != 0 && sendCountList.get(0) > 0 && !specialStaffIdList.contains(sendDetail.getStaffId())) {
|
|
|
+ if (sendCountList.get(0) > 0 && !specialStaffIdList.contains(sendDetail.getStaffId())) {
|
|
|
LarkRobotUtil.sendMessage(sendDetail.getRemark() + "存在未发送记录,请检查");
|
|
|
LarkRobotUtil.sendTipMessage(sendDetail.getRemark() + "存在未发送记录,请检查");
|
|
|
//8点前报警
|