Class ReplyServiceImpl

java.lang.Object
com.baomidou.mybatisplus.extension.repository.AbstractRepository<ReplyMapper, Reply>
com.baomidou.mybatisplus.spring.repository.CrudRepository<ReplyMapper, Reply>
com.baomidou.mybatisplus.spring.service.impl.ServiceImpl<ReplyMapper, Reply>
io.github.seenings.zone.service.impl.ReplyServiceImpl
All Implemented Interfaces:
com.baomidou.mybatisplus.extension.repository.IRepository<Reply>, com.baomidou.mybatisplus.spring.service.IService<Reply>, IReplyService

@Service public class ReplyServiceImpl extends com.baomidou.mybatisplus.spring.service.impl.ServiceImpl<ReplyMapper, Reply> implements IReplyService

空间回复 服务实现类

Since:
2021-07-25
Author:
chixh
  • Field Summary

    Fields inherited from class com.baomidou.mybatisplus.spring.repository.CrudRepository

    baseMapper

    Fields inherited from class com.baomidou.mybatisplus.extension.repository.AbstractRepository

    log

    Fields inherited from interface com.baomidou.mybatisplus.extension.repository.IRepository

    DEFAULT_BATCH_SIZE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    根据ID获取空间ID
    根据ID获取第一层评论
    根据ID获取第二层回复
    publishReplyComment(Integer zoneId, Integer replyId, Long userId, String message)
    回复空间评论
    publishZoneComment(Integer zoneId, Long userId, String message)
    发表空间评论
    replyToZoneReply(Reply reply, Map<Long,String> userIdToUserNameMap, Map<Integer, Set<Integer>> zoneContentIdToTextIdMap, Map<Integer,String> textIdToTextMap)
     
    根据空间ID获取回复ID

    Methods inherited from class com.baomidou.mybatisplus.spring.repository.CrudRepository

    getBaseMapper, getSqlStatement, saveBatch, saveOrUpdateBatch, updateBatchById

    Methods inherited from class com.baomidou.mybatisplus.extension.repository.AbstractRepository

    executeBatch, executeBatch, getEntityClass, getMap, getMapperClass, getObj, getOne, getOneOpt, getSqlSessionFactory, removeById, saveOrUpdate

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.baomidou.mybatisplus.extension.repository.IRepository

    count, count, exists, getById, getOne, 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, removeByIds, removeByIds, removeByMap, save, update, update, update, updateById

    Methods inherited from interface com.baomidou.mybatisplus.spring.service.IService

    removeBatchByIds, saveBatch, saveOrUpdateBatch, updateBatchById