Class UserBirthPlacePOServiceImpl

java.lang.Object
com.baomidou.mybatisplus.extension.repository.AbstractRepository<io.github.seenings.info.service.impl.UserBirthPlacePOMapper, UserBirthPlacePO>
com.baomidou.mybatisplus.spring.repository.CrudRepository<io.github.seenings.info.service.impl.UserBirthPlacePOMapper, UserBirthPlacePO>
com.baomidou.mybatisplus.spring.service.impl.ServiceImpl<io.github.seenings.info.service.impl.UserBirthPlacePOMapper, UserBirthPlacePO>
io.github.seenings.info.service.impl.UserBirthPlacePOServiceImpl
All Implemented Interfaces:
com.baomidou.mybatisplus.extension.repository.IRepository<UserBirthPlacePO>, com.baomidou.mybatisplus.spring.service.IService<UserBirthPlacePO>, io.github.seenings.info.service.UserBirthPlaceService

@Service public class UserBirthPlacePOServiceImpl extends com.baomidou.mybatisplus.spring.service.impl.ServiceImpl<io.github.seenings.info.service.impl.UserBirthPlacePOMapper, UserBirthPlacePO> implements io.github.seenings.info.service.UserBirthPlaceService
  • 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 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

    • UserBirthPlacePOServiceImpl

      public UserBirthPlacePOServiceImpl()
  • Method Details

    • userIdToCityId

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

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

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