Class ThumbUserPOServiceImpl

java.lang.Object
com.baomidou.mybatisplus.extension.repository.AbstractRepository<io.github.seenings.thumb.service.impl.ThumbUserPOMapper, ThumbUserPO>
com.baomidou.mybatisplus.spring.repository.CrudRepository<io.github.seenings.thumb.service.impl.ThumbUserPOMapper, ThumbUserPO>
com.baomidou.mybatisplus.spring.service.impl.ServiceImpl<io.github.seenings.thumb.service.impl.ThumbUserPOMapper, ThumbUserPO>
io.github.seenings.thumb.service.impl.ThumbUserPOServiceImpl
All Implemented Interfaces:
com.baomidou.mybatisplus.extension.repository.IRepository<ThumbUserPO>, com.baomidou.mybatisplus.spring.service.IService<ThumbUserPO>, io.github.seenings.thumb.service.ThumbUserService

@Service public class ThumbUserPOServiceImpl extends com.baomidou.mybatisplus.spring.service.impl.ServiceImpl<io.github.seenings.thumb.service.impl.ThumbUserPOMapper, ThumbUserPO> implements io.github.seenings.thumb.service.ThumbUserService
  • 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
    boolean
    set(Long thumbedUserId, Long thumbUserId)
     
    thumbedUserIdToTrue(Set<Long> thumbedUserId, Long thumbUserId)
    根据被点赞者获取是否点赞

    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
  • Constructor Details

    • ThumbUserPOServiceImpl

      public ThumbUserPOServiceImpl()
  • Method Details

    • thumbedUserIdToTrue

      public Map<Long,Boolean> thumbedUserIdToTrue(Set<Long> thumbedUserId, Long thumbUserId)
      根据被点赞者获取是否点赞
      Specified by:
      thumbedUserIdToTrue in interface io.github.seenings.thumb.service.ThumbUserService
      Parameters:
      thumbedUserId - 被点赞者
      thumbUserId - 点赞者
      Returns:
      被点赞者对应是否点赞
    • set

      public boolean set(Long thumbedUserId, Long thumbUserId)
      Specified by:
      set in interface io.github.seenings.thumb.service.ThumbUserService