接口 IMessageService

所有超级接口:
IBaseService<SysMessage>, com.baomidou.mybatisplus.extension.repository.IRepository<SysMessage>, com.baomidou.mybatisplus.extension.service.IService<SysMessage>
所有已知实现类:
MessageServiceImpl

public interface IMessageService extends IBaseService<SysMessage>
Author: dongzp Time: 2020-02-03 21:15:58 Project: xbaseweb-plus Email: 90fanhua@gmail.com Remarks:通知消息Service接口
  • 字段概要

    从接口继承的字段 com.baomidou.mybatisplus.extension.repository.IRepository

    DEFAULT_BATCH_SIZE
  • 方法概要

    修饰符和类型
    方法
    说明
    删除所有消息
    sendMessage(Long userId, String title, String content)
    发送消息
    sendSysMessage(Long userId, String templateCode, Map<String,Object> params)
    发送系统消息
    sendWsMessage(Long receiveId, String content)
    发送WebSocket消息
    设置消息全部已读

    从接口继承的方法 com.hengyi.xbaseweb.system.service.base.IBaseService

    save, saveBatch, saveOrUpdate, saveOrUpdateBatch, updateBatchById, updateById

    从接口继承的方法 com.baomidou.mybatisplus.extension.repository.IRepository

    count, count, exists, getBaseMapper, getById, getEntityClass, getMap, getObj, getOne, getOne, getOneOpt, getOneOpt, getOptById, ktQuery, ktUpdate, lambdaQuery, lambdaQuery, lambdaUpdate, list, list, list, list, listByIds, listByMap, listMaps, listMaps, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeById, removeById, removeById, removeByIds, removeByIds, removeByMap, update, update, update

    从接口继承的方法 com.baomidou.mybatisplus.extension.service.IService

    removeBatchByIds, saveBatch, saveOrUpdateBatch, updateBatchById
  • 方法详细资料

    • sendMessage

      StatusResult sendMessage(Long userId, String title, String content)
      发送消息
      参数:
      userId - 接收人用户Id
      title -
      content -
      返回:
    • sendSysMessage

      StatusResult sendSysMessage(Long userId, String templateCode, Map<String,Object> params)
      发送系统消息
      参数:
      userId - 接收人用户Id
      templateCode -
      params -
      返回:
    • sendWsMessage

      StatusResult sendWsMessage(Long receiveId, String content)
      发送WebSocket消息
      参数:
      receiveId -
      content -
      返回:
    • setAllMessageIsRead

      Boolean setAllMessageIsRead(Long userId)
      设置消息全部已读
      参数:
      userId -
      返回:
    • deleteAllMessage

      Boolean deleteAllMessage(Long userId)
      删除所有消息
      参数:
      userId -
      返回: