1234567891011121314151617181920212223 |
- package com.kmall.common.service;
- import java.util.List;
- /**
- * 用户与角色对应关系
- *
- * @author Scott
- * @email
- * @date 2016年9月18日 上午9:43:24
- */
- public interface SysUserRoleService {
- void saveOrUpdate(Long userId, Long roleId);
- /**
- * 根据用户ID,获取角色ID列表
- */
- List<Long> queryRoleIdList(Long userId);
- void delete(Long userId);
- }
|