kongzy
2023-11-28 59d9ea33f503e363f2e2941c7c00cc9dd9d9d1c7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.nanometer.smartlab.dao;
 
import com.nanometer.smartlab.entity.BaseRole;
import org.springframework.dao.DataAccessException;
 
import java.util.List;
import java.util.Map;
 
/**
 * Created by johnny on 17/11/18.
 */
public interface BaseRoleDao {
 
    public BaseRole getBaseRole(String id) throws DataAccessException;
    public List<BaseRole> getBaseRoleList(Map params) throws DataAccessException;
    public int getBaseRoleTotalCount(Map params) throws DataAccessException;
 
    public void insertBaseRole(BaseRole baseRole) throws DataAccessException;
    public int updateBaseRole(BaseRole baseRole) throws DataAccessException;
    public int updateBaseRoleInfo(BaseRole baseRole);
    public int deleteBaseRoles(List<String> ids) throws DataAccessException;
 
    BaseRole getBaseRoleByUser(String id);
}