Class UserCurrentResidencePOServiceImpl

java.lang.Object
com.baomidou.mybatisplus.extension.repository.AbstractRepository<io.github.seenings.info.service.impl.UserCurrentResidencePOMapper, UserCurrentResidencePO>
com.baomidou.mybatisplus.spring.repository.CrudRepository<io.github.seenings.info.service.impl.UserCurrentResidencePOMapper, UserCurrentResidencePO>
com.baomidou.mybatisplus.spring.service.impl.ServiceImpl<io.github.seenings.info.service.impl.UserCurrentResidencePOMapper, UserCurrentResidencePO>
io.github.seenings.info.service.impl.UserCurrentResidencePOServiceImpl
All Implemented Interfaces:
com.baomidou.mybatisplus.extension.repository.IRepository<UserCurrentResidencePO>, com.baomidou.mybatisplus.spring.service.IService<UserCurrentResidencePO>, io.github.seenings.info.service.UserCurrentResidenceService

@Service public class UserCurrentResidencePOServiceImpl extends com.baomidou.mybatisplus.spring.service.impl.ServiceImpl<io.github.seenings.info.service.impl.UserCurrentResidencePOMapper, UserCurrentResidencePO> implements io.github.seenings.info.service.UserCurrentResidenceService
  • 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
    currentResidenceCityToUserId(Integer cityId, int current, int size)
     
    boolean
    set(Long userId, Integer provinceId, Integer cityId)
     
     
     

    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

    • UserCurrentResidencePOServiceImpl

      public UserCurrentResidencePOServiceImpl()
  • Method Details

    • currentResidenceCityToUserId

      public List<Long> currentResidenceCityToUserId(Integer cityId, int current, int size)
      Specified by:
      currentResidenceCityToUserId in interface io.github.seenings.info.service.UserCurrentResidenceService
    • userIdToCityId

      public Map<Long,Integer> userIdToCityId(Set<Long> userIds)
      Specified by:
      userIdToCityId in interface io.github.seenings.info.service.UserCurrentResidenceService
    • userIdToProvinceId

      public Map<Long,Integer> userIdToProvinceId(Set<Long> userIds)
      Specified by:
      userIdToProvinceId in interface io.github.seenings.info.service.UserCurrentResidenceService
    • set

      public boolean set(Long userId, Integer provinceId, Integer cityId)
      Specified by:
      set in interface io.github.seenings.info.service.UserCurrentResidenceService