接口 ISysNoticeService

所有超级接口:
io.github.mangocrisp.spring.taybct.tool.core.bean.service.IBaseService<SysNotice>, com.baomidou.mybatisplus.extension.service.IService<SysNotice>
所有已知实现类:
SysNoticeServiceImpl

public interface ISysNoticeService extends io.github.mangocrisp.spring.taybct.tool.core.bean.service.IBaseService<SysNotice>
针对表【sys_notice(消息通知)】的数据库操作Service
从以下版本开始:
1.0.5
  • 字段概要

    从接口继承的字段 com.baomidou.mybatisplus.extension.service.IService

    DEFAULT_BATCH_SIZE
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    添加消息通知
    boolean
    消除消息通知(全部改为已读)
    boolean
    updateUserNotices(int status, Collection<Long> noticeIds)
    批量更新用户消息
    com.baomidou.mybatisplus.core.metadata.IPage<SysNoticeVO>
    userNoticesPage(Map<String,Object> sqlQueryParams)
    用户消息分页

    从接口继承的方法 io.github.mangocrisp.spring.taybct.tool.core.bean.service.IBaseService

    customizeGetById, customizeList, customizeList, customizePage, customizePage, customizeQueryPage, customizeQueryPage, customizeQueryWrapper, customizeQueryWrapper, customizeRemoveById, customizeRemoveByIds, customizeSave, customizeSaveBatch, customizeUpdateBatchById, customizeUpdateById, mergeQueryExpansion, queryExpansion, removeExpansion, saveExpansion

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

    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, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeById, removeById, removeById, removeByIds, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById, updateBatchById, updateById
  • 方法详细资料

    • clean

      boolean clean()
      消除消息通知(全部改为已读)
      返回:
      是否清除成功
    • userNoticesPage

      com.baomidou.mybatisplus.core.metadata.IPage<SysNoticeVO> userNoticesPage(Map<String,Object> sqlQueryParams)
      用户消息分页
      参数:
      sqlQueryParams - sql 查询参数
      返回:
      IPage<SysNoticeVO>
      从以下版本开始:
      1.0.5
    • addRelatedNotices

      boolean addRelatedNotices(SysNotice notice, Collection<SysNoticeUserDTO> noticeUsers)
      添加消息通知
      参数:
      notice - 消息通知
      noticeUsers - 消息通知附加的通知对象关系,如果不指定就是通知公告,所有人可见
      返回:
      boolean
      从以下版本开始:
      1.0.5
    • updateUserNotices

      boolean updateUserNotices(int status, Collection<Long> noticeIds)
      批量更新用户消息
      参数:
      status - [状态(0不可见 1 已读 2待办)]不能为空
      noticeIds - 消息 id
      返回:
      boolean
      从以下版本开始:
      1.0.5