所有超级接口:
com.baomidou.mybatisplus.core.mapper.BaseMapper<SysUser>, com.baomidou.mybatisplus.core.mapper.Mapper<SysUser>

public interface SysUserMapper extends com.baomidou.mybatisplus.core.mapper.BaseMapper<SysUser>
另请参阅:
  • 方法详细资料

    • getUserByFiled

      @InterceptorIgnore(tenantLine="true") @EnhanceMethod OAuth2UserDTO getUserByFiled(@Param("field") String field, @Param("value") String value)
      根据字段/值获取登录用户信息
      参数:
      field - 字段名
      value - 字段值
      返回:
      OAuth2UserDTO
      从以下版本开始:
      1.0.0
    • getUserInfoByUserId

      @EnhanceMethod UserInfoVO getUserInfoByUserId(@Param("userId") Long userId)
      根据用户 id 获取用户信息
      参数:
      userId - 用户 id
      返回:
      UserInfoVO
    • addWechatUser

      @InterceptorIgnore(tenantLine="true") int addWechatUser(@Param("user") Map<String,Object> user)
      添加微信用户
      参数:
      user - 用户信息
      返回:
      int
    • countQuery

      long countQuery(@Param("tenantId") String tenantId, @Param("operator") Long operator, @Param("root") Long root, @Param("params") Map<String,Object> params, @Param("dto") SysUserQueryDTO dto, @Param("authorities") Set<String> authorities, @Param("isRoot") Integer isRoot)
      先查询个数,按条件查询个数,如果有结果,再查询列表,或者分页
      参数:
      tenantId - 租户id
      operator - 操作者的 id 为了过滤当前用户
      root - 超级管理员的用户 id ,这个是默认的
      params - 查询参数
      返回:
      int 个数
      从以下版本开始:
      1.0.4
    • listQuery

      List<SysUser> listQuery(@Param("tenantId") String tenantId, @Param("operator") Long operator, @Param("root") Long root, @Param("params") Map<String,Object> params, @Param("offset") Long offset, @Param("size") Long size, @Param("pageOrder") String pageOrder, @Param("dto") SysUserQueryDTO dto, @Param("authorities") Set<String> authorities, @Param("isRoot") Integer isRoot)
      条件查询
      参数:
      tenantId - 租户id
      operator - 操作者的 id 为了过滤当前用户
      root - 超级管理员的用户 id ,这个是默认的
      params - 查询参数
      offset - 查询起始位置
      size - 大小
      pageOrder - 排序字段
      返回:
      List<SysUser>
      从以下版本开始:
      1.0.4
    • selectById

      @EnhanceMethod SysUser selectById(Serializable id)
      指定者:
      selectById 在接口中 com.baomidou.mybatisplus.core.mapper.BaseMapper<SysUser>
    • insert

      @EnhanceMethod int insert(SysUser entity)
      指定者:
      insert 在接口中 com.baomidou.mybatisplus.core.mapper.BaseMapper<SysUser>
    • updateById

      @EnhanceMethod int updateById(@Param("et") SysUser entity)
      指定者:
      updateById 在接口中 com.baomidou.mybatisplus.core.mapper.BaseMapper<SysUser>
    • update

      @EnhanceMethod int update(@Param("et") SysUser entity, @Param("ew") com.baomidou.mybatisplus.core.conditions.Wrapper<SysUser> updateWrapper)
      指定者:
      update 在接口中 com.baomidou.mybatisplus.core.mapper.BaseMapper<SysUser>
    • update

      @EnhanceMethod default int update(@Param("ew") com.baomidou.mybatisplus.core.conditions.Wrapper<SysUser> updateWrapper)
      指定者:
      update 在接口中 com.baomidou.mybatisplus.core.mapper.BaseMapper<SysUser>