Commit bfac67cb authored by jiaorz's avatar jiaorz

Merge branch 'master-bacground-im' into dev

parents 4e2d277b 9223361a
......@@ -347,6 +347,7 @@ public class MsgBiz {
public Msg add(AddMsgParam param) {
//去redis根据userId是否有数据
//设置一些列参数
log.info("后台添加消息: param = {}", param);
Msg entity = Msg.build(param.getUserId(), param.getNickname(), param);
// 保存商务圈消息
mongoTemplate.save(entity);
......@@ -354,6 +355,7 @@ public class MsgBiz {
if(!StringUtils.isEmpty(param.getMusicId())){
updateUseCount(new ObjectId(param.getMusicId()));
}
if(null != param.getUserRemindLook()){
if(null != param.getUserNotLook()){
List<Integer> collect = param.getUserRemindLook().stream().filter(item -> param.getUserNotLook().contains(item)).collect(Collectors.toList());
......
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