|
|
@@ -1713,8 +1713,12 @@ public class Task {
|
|
|
for (Map.Entry<String, BatchSendCourseAllDTO> entry : toSendMap) {
|
|
|
//执行发送消息任务
|
|
|
BatchSendCourseAllDTO batchSendCourseAllDTO = entry.getValue();
|
|
|
- openIMService.batchUrgeCourseTask(batchSendCourseAllDTO.getOpenImBatchMsgDTO(), batchSendCourseAllDTO.getImMsgSendDetailList());
|
|
|
-
|
|
|
+ try {
|
|
|
+ openIMService.batchUrgeCourseTask(batchSendCourseAllDTO.getOpenImBatchMsgDTO(), batchSendCourseAllDTO.getImMsgSendDetailList());
|
|
|
+ }catch (Exception e){
|
|
|
+ e.printStackTrace();
|
|
|
+ continue;
|
|
|
+ }
|
|
|
// 执行结束,删除
|
|
|
this.redisTemplate.<String, BatchSendCourseAllDTO>opsForHash().delete(redisKey, entry.getKey());
|
|
|
|