接口 IWxUserBindService

所有超级接口:
IBaseService<SysWxUserBind>, com.baomidou.mybatisplus.extension.repository.IRepository<SysWxUserBind>, com.baomidou.mybatisplus.extension.service.IService<SysWxUserBind>
所有已知实现类:
WxUserBindServiceImpl

public interface IWxUserBindService extends IBaseService<SysWxUserBind>
  • 字段概要

    从接口继承的字段 com.baomidou.mybatisplus.extension.repository.IRepository

    DEFAULT_BATCH_SIZE
  • 方法概要

    修饰符和类型
    方法
    说明
    绑定OpenId
    getByOpenId(String openId, WxType type)
    通过openID获取绑定关系
    通过unionID获取绑定关系
    getByUserId(Long userId, WxType type)
    根据用户查询微信绑定关系
    saveOrUpdate(Long userId, WxType type, cn.binarywang.wx.miniapp.bean.WxMaJscode2SessionResult sessionResult)
    保存或更新微信信息

    从接口继承的方法 com.hengyi.xbaseweb.system.service.base.IBaseService

    save, saveBatch, saveOrUpdate, saveOrUpdateBatch, updateBatchById, updateById

    从接口继承的方法 com.baomidou.mybatisplus.extension.repository.IRepository

    count, count, exists, getBaseMapper, getById, getEntityClass, getMap, getObj, getOne, getOne, getOneOpt, 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, removeById, removeByIds, removeByIds, removeByMap, update, update, update

    从接口继承的方法 com.baomidou.mybatisplus.extension.service.IService

    removeBatchByIds, saveBatch, saveOrUpdateBatch, updateBatchById
  • 方法详细资料

    • getByOpenId

      SysWxUserBind getByOpenId(String openId, WxType type)
      通过openID获取绑定关系
      参数:
      openId -
      type -
      返回:
    • getByUnionId

      SysWxUserBind getByUnionId(String unionId)
      通过unionID获取绑定关系
      参数:
      unionId -
      返回:
    • getByUserId

      SysWxUserBind getByUserId(Long userId, WxType type)
      根据用户查询微信绑定关系
      参数:
      userId -
      type -
      返回:
    • saveOrUpdate

      Boolean saveOrUpdate(Long userId, WxType type, cn.binarywang.wx.miniapp.bean.WxMaJscode2SessionResult sessionResult)
      保存或更新微信信息
      参数:
      userId -
      sessionResult -
      返回:
    • bindOpenId

      Boolean bindOpenId(BindOpenIdDto dto)
      绑定OpenId
      参数:
      dto -
      返回: