Commit fbd30e2d authored by 盖献康's avatar 盖献康

修改 消息点详情后,到已读

parent 403ef3bc
......@@ -97,7 +97,10 @@ public class MessageInstanceServiceImpl extends ServiceImpl<MessageInstanceRepos
*/
@Override
public MessageInstance findById(int id) {
return baseMapper.selectById(id);
MessageInstance messageInstance = baseMapper.selectById(id);
messageInstance.setReadFlag("1");
baseMapper.updateById(messageInstance);
return messageInstance;
}
/**
......
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