|
|
@@ -219,6 +219,8 @@ public class SendMsg {
|
|
|
Map<Integer, List<QwPushCount>> pushMap = pushCountList.stream().collect(Collectors.groupingBy(QwPushCount::getType));
|
|
|
// 循环发送消息里面的每一条消息
|
|
|
for (QwSopCourseFinishTempSetting.Setting content : setting.getSetting()) {
|
|
|
+
|
|
|
+
|
|
|
long start4 = System.currentTimeMillis();
|
|
|
//判断当前销售推送客户消息限制
|
|
|
Long qwUserId = qwUser.getId();//销售的Id
|
|
|
@@ -245,6 +247,14 @@ public class SendMsg {
|
|
|
content.setSendStatus(2);//设置发送失败状态
|
|
|
content.setSendRemarks("发送次数达到上限");
|
|
|
} else {
|
|
|
+ try {
|
|
|
+ log.error("插入voideid"+setting.getVideoId());
|
|
|
+ content.setVideoId(Long.valueOf(setting.getVideoId()));
|
|
|
+
|
|
|
+
|
|
|
+ }catch (Exception e){
|
|
|
+ log.error("插入失败");
|
|
|
+ }
|
|
|
// 发送
|
|
|
sendServer.send(content, user, qwSopLogs, miniMap, parentVo,customerId);
|
|
|
//判断销售推送成功:保存记录
|