You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
707 B
42 lines
707 B
package com.ruoyi.system.mapper;
|
|
|
|
import com.ruoyi.common.core.domain.entity.SysUser;
|
|
import com.ruoyi.course.domain.Context;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 用户表 数据层
|
|
*
|
|
* @author ruoyi
|
|
*/
|
|
public interface SysUserMapper
|
|
{
|
|
|
|
|
|
/**
|
|
* 通过用户名查询用户
|
|
*
|
|
* @param userName 用户名
|
|
* @return 用户对象信息
|
|
*/
|
|
public SysUser selectUserByUserName(String userName);
|
|
|
|
|
|
|
|
public SysUser selectUserByPhonenumber(String phonenumber);
|
|
|
|
|
|
/**
|
|
* 通过用户ID查询用户
|
|
*
|
|
* @param userId 用户ID
|
|
* @return 用户对象信息
|
|
*/
|
|
public SysUser selectUserById(Long userId);
|
|
|
|
|
|
|
|
}
|