|
@@ -3,6 +3,7 @@ package com.tzld.piaoquan.offline.job;
|
|
|
import com.alibaba.fastjson.JSONArray;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.google.common.collect.Lists;
|
|
|
+import com.tzld.piaoquan.growth.common.common.constant.MessageConstant;
|
|
|
import com.tzld.piaoquan.growth.common.common.constant.TimeConstant;
|
|
|
import com.tzld.piaoquan.growth.common.common.enums.MessageAttachmentTypeEnum;
|
|
|
import com.tzld.piaoquan.growth.common.component.HttpPoolClient;
|
|
@@ -35,6 +36,7 @@ import java.util.concurrent.TimeUnit;
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
import static com.tzld.piaoquan.growth.common.common.constant.MessageConstant.MAX_VIDEO_NUM;
|
|
|
+import static com.tzld.piaoquan.growth.common.common.constant.MessageConstant.specialStaffIdList;
|
|
|
import static com.tzld.piaoquan.growth.common.common.constant.WeComConstant.*;
|
|
|
import static com.tzld.piaoquan.growth.common.common.enums.SourceEnum.HISTORICAL_TOP;
|
|
|
import static com.tzld.piaoquan.growth.common.common.enums.SourceEnum.MANUAL;
|
|
@@ -155,7 +157,7 @@ public class WeComHistoryDataJob {
|
|
|
long count = sendCountList.get(0) + sendCountList.get(1) + sendCountList.get(2) + sendCountList.get(3);
|
|
|
allCount += count;
|
|
|
notSend += sendCountList.get(0);
|
|
|
- if (count != 0 && sendCountList.get(0) > 0) {
|
|
|
+ if (count != 0 && sendCountList.get(0) > 0 && !specialStaffIdList.contains(sendDetail.getStaffId())) {
|
|
|
LarkRobotUtil.sendMessage(sendDetail.getRemark() + "存在未发送记录,请检查");
|
|
|
if (sendDetail.getStaffId() == 3) {
|
|
|
LarkRobotUtil.sendTipMessage(sendDetail.getRemark() + "存在未发送记录,请检查");
|