public interface SysUserService extends BaseService<SysUser>
系统用户 服务类
| Modifier and Type | Method and Description |
|---|---|
void |
checkDepartmentAndRole(Long departmentId,
Long roleId)
检验部门和角色是否存在并且已启用
|
boolean |
deleteSysUser(Long id)
删除
|
SysUserQueryVo |
getSysUserById(Serializable id)
根据ID获取查询对象
|
Paging<SysUserQueryVo> |
getSysUserPageList(SysUserQueryParam sysUserQueryParam)
获取分页对象
|
boolean |
isExistsByUsername(String username)
判断用户名是否存在
|
boolean |
isExistsSysUserByRoleId(Long roleId)
通过角色id判断是否存在可用用户id
|
boolean |
saveSysUser(SysUser sysUser)
保存
|
boolean |
updatePassword(UpdatePasswordParam updatePasswordParam)
修改密码
|
boolean |
updateSysUser(SysUser sysUser)
修改
|
boolean |
updateSysUserHead(Long id,
String headPath)
修改系统用户头像
|
count, count, getBaseMapper, getById, getMap, getObj, getOne, getOne, lambdaQuery, lambdaUpdate, list, list, listByIds, listByMap, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeById, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById, updateBatchById, updateByIdboolean saveSysUser(SysUser sysUser) throws Exception
sysUser - Exceptionboolean updateSysUser(SysUser sysUser) throws Exception
sysUser - Exceptionboolean deleteSysUser(Long id) throws Exception
id - ExceptionSysUserQueryVo getSysUserById(Serializable id) throws Exception
id - ExceptionPaging<SysUserQueryVo> getSysUserPageList(SysUserQueryParam sysUserQueryParam) throws Exception
sysUserQueryParam - Exceptionboolean isExistsByUsername(String username) throws Exception
username - Exceptionvoid checkDepartmentAndRole(Long departmentId, Long roleId) throws Exception
departmentId - roleId - Exceptionboolean isExistsSysUserByRoleId(Long roleId) throws Exception
roleId - Exceptionboolean updatePassword(UpdatePasswordParam updatePasswordParam) throws Exception
updatePasswordParam - ExceptionCopyright © 2019. All rights reserved.