|
@@ -161,11 +161,14 @@ public class WeComHistoryDataJob {
|
|
|
|
|
|
for (SendDetail sendDetail : sendDetailList) {
|
|
|
List<Long> sendCountList = sendDetail.getSendCountList();
|
|
|
- stringBuilder.append(sendDetail.getRemark());
|
|
|
+ if (CollectionUtils.isEmpty(sendCountList)) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
long count = sendCountList.get(0) + sendCountList.get(1) + sendCountList.get(2) + sendCountList.get(3);
|
|
|
if (count == 0) {
|
|
|
continue;
|
|
|
}
|
|
|
+ stringBuilder.append(sendDetail.getRemark());
|
|
|
allCount += count;
|
|
|
notSendCount += sendCountList.get(0);
|
|
|
successSendCount += sendCountList.get(1);
|
|
@@ -275,11 +278,12 @@ public class WeComHistoryDataJob {
|
|
|
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;
|
|
|
}
|
|
|
+ stringBuilder.append(sendDetail.getRemark());
|
|
|
+
|
|
|
if (count == sendCountList.get(0)) {
|
|
|
LarkRobotUtil.sendMessage(sendDetail.getRemark() + "存在未发送记录,请检查");
|
|
|
if (sendDetail.getStaffId() == 3) {
|