package com.shlanbao.tzsc.pms.sys.user.service;
|
|
import java.util.List;
|
|
import com.shlanbao.tzsc.base.mapping.SysModelPermis;
|
import com.shlanbao.tzsc.pms.sys.user.beans.UserBean;
|
|
/**
|
* 用户管角色模块接口
|
* @author Rengj
|
* @create 2016年12月21日下午13:20:05
|
*/
|
public interface ModelPermisServiceI {
|
|
|
/**
|
* 查询模块
|
* @author Rengj
|
* @create 2016年12月21日下午13:20:05
|
* @param userId,roleId
|
* @throws Exception
|
*/
|
List<SysModelPermis> getDefaultSysModel(String userId,String roleId) throws Exception;
|
/**
|
* 添加模块
|
* @author Rengj
|
* @create 2016年12月21日下午13:20:05
|
* @param userId,roleId
|
* @throws Exception
|
*/
|
void insertDefaultSysModel(SysModelPermis smp) throws Exception;
|
|
/**
|
* 查询模块
|
* @author Rengj
|
* @create 2016年12月21日下午13:20:05
|
* @param userId,roleId
|
* @throws Exception
|
*/
|
List<SysModelPermis> getSysModel(String userId,String roleId,String fixCode) throws Exception;
|
|
/**
|
* 删除模块
|
* @author Rengj
|
* @create 2016年12月21日下午13:20:05
|
* @param userId,roleId
|
* @throws Exception
|
*/
|
void deleteSysModel(String Id) throws Exception;
|
|
}
|