Class ZoneServiceImpl

java.lang.Object
com.baomidou.mybatisplus.extension.repository.AbstractRepository<ZoneMapper, Zone>
com.baomidou.mybatisplus.spring.repository.CrudRepository<ZoneMapper, Zone>
com.baomidou.mybatisplus.spring.service.impl.ServiceImpl<ZoneMapper, Zone>
io.github.seenings.zone.service.impl.ZoneServiceImpl
All Implemented Interfaces:
com.baomidou.mybatisplus.extension.repository.IRepository<Zone>, com.baomidou.mybatisplus.spring.service.IService<Zone>, IZoneService

@Service public class ZoneServiceImpl extends com.baomidou.mybatisplus.spring.service.impl.ServiceImpl<ZoneMapper, Zone> implements IZoneService

空间 服务实现类

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
    boolean
    delete(Set<Integer> zoneIds)
    根据空间ID删除
    news(int current, int size)
    列出热门的用户
    publish(List<ZoneContent> zoneContents, Long userId)
    发表说说
    根据用户ID获取空间ID
    根据空间ID获取发布时间
    根据空间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
  • Constructor Details

    • ZoneServiceImpl

      public ZoneServiceImpl()
  • Method Details