xiaoyong931011
2021-05-18 13cf5a68e9d64b722c1c38bb3d675b462ec19d5e
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
package com.xcong.excoin.system.service;
 
import com.xcong.excoin.system.entity.UserRole;
import com.baomidou.mybatisplus.extension.service.IService;
 
import java.util.List;
 
/**
 * @author MrBird
 */
public interface IUserRoleService extends IService<UserRole> {
 
    /**
     * 通过角色 id 删除
     *
     * @param roleIds 角色 id
     */
    void deleteUserRolesByRoleId(List<String> roleIds);
 
    /**
     * 通过用户 id 删除
     *
     * @param userIds 用户 id
     */
    void deleteUserRolesByUserId(List<String> userIds);
}