kaiyu
2020-11-24 1d7e1b771160dd8b7f25765e402ce25cac676641
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
package com.moral.service;
 
import java.util.List;
 
import com.moral.common.bean.PageBean;
import com.moral.entity.Role;
 
public interface RoleService {
 
    void addOrModify(Role role);
 
    int countByExample(PageBean pageBean);
 
    PageBean getRoleList(PageBean pageBean);
 
    PageBean queryByPageBean(PageBean pageBean);
 
    void deleteByIds(Integer... ids);
 
    List<Integer> getRoleIds(int accountId);
 
    void allotRole(Integer accountId, Integer[] roleIds);
 
    void allotMenu(Integer roleId, Integer[] menuOrders);
}