Commit 1981a7c8 by 王祖波

异常处理

parent 4fc3c576
......@@ -195,9 +195,13 @@ public class NoticeMessageApiServiceImpl implements NoticeMessageApiService {
// 用于成员去重
Set<String> userIdSet = new HashSet<>();
List<List<StaffClerkRelationDTO>> listList = ListUtil.split(v, 1000);
listList.forEach(list->{
for (List<StaffClerkRelationDTO> list : listList) {
try {
sendMessage(notifyMessageBatchQDTO, list,userIdSet, qwDTO);
});
} catch (Exception e) {
logger.error("发送消息通知失败",e);
}
}
});
return ServiceResponse.success();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment