郑永安
2023-09-19 69185134fcfaf913ea45f1255677225a2cc311a4
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
29
30
31
32
33
34
35
36
package com.gk.hotwork.Service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.gk.hotwork.Config.Oauth2.OauthRole;
import com.gk.hotwork.Domain.RoleInfo;
 
import java.util.HashMap;
import java.util.List;
import java.util.Map;
 
public interface RoleService extends IService<RoleInfo> {
 
    List<RoleInfo> selectRoleByUser(Long id);
 
    List<RoleInfo> selectList(String name);
 
    RoleInfo selectRoleByName(RoleInfo roleInfo);
 
    List<RoleInfo> selectExistRole(Long id, String name);
 
    List<OauthRole> selectOauthRoleByUser(int i);
 
    /**
    * @Description: 获取总数
    */
    Integer selectCountForRole(String name);
 
 
    /**
     * @Description: 根据角色分页
     */
    List<RoleInfo> selectPageForRole(String name, Integer first, Integer pageSize);
 
 
 
}