1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| package com.ruoyi.common.core.service;
|
| import com.ruoyi.common.core.domain.entity.SysUser;
|
| /**
| * 用户 业务层
| *
| * @author ruoyi
| */
| public interface IUserService {
|
| /**
| * 通过用户名查询用户
| *
| * @param userName 用户名
| * @return 用户对象信息
| */
| public SysUser selectUserByUserName(String userName);
|
| /**
| * 通过用户ID查询用户
| *
| * @param userId 用户ID
| * @return 用户对象信息
| */
| public SysUser selectUserById(Long userId);
|
| }
|
|