kongzy
2024-07-01 47a751cb301d05276ae5d75145d57b2d090fe4e1
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.nanometer.smartlab.service;
 
import com.nanometer.smartlab.entity.BaseRole;
 
import java.util.List;
 
/**
 * Created by johnny on 17/11/18.
 */
public interface BaseRoleService {
 
    public List<BaseRole> getBaseRoleList(String name, String memo, Integer first, Integer pageSize);
    public List<BaseRole> getBaseRoleList();
    public int getBaseRoleTotalCount(String name, String memo);
    public BaseRole getBaseRole(Long id);
    public boolean isBaseRoleExist(String name, Long editId);
    public BaseRole insertBaseRole(BaseRole baseRole);
    public boolean updateBaseRole(BaseRole baseRole);
    public boolean deleteBaseRole(List<BaseRole> baseRoleList);
 
    public void updateUserMngPageBtn(BaseRole baseRole);
    public void updateUserMngPageUser(BaseRole baseRole);
 
    BaseRole getRoleByUserId(Long id);
}