public interface SysUserService extends BaseService<SysUser,String>
Modifier and Type | Method and Description |
---|---|
int |
add(SysUser user)
新增
|
int |
checkUser(String username) |
int |
count() |
JsonUtil |
delById(String id,
boolean flag)
删除
|
List<SysUser> |
getUserByRoleId(String roleId) |
List<Checkbox> |
getUserRoleByJson(String id) |
SysUser |
login(String username) |
int |
rePass(SysUser user)
更新密码
|
List<SysRoleUser> |
selectByCondition(SysRoleUser sysRoleUser) |
SysUser |
selectByPrimaryKey(String id) |
List<SysUser> |
selectListByPage(SysUser sysUser)
分页查询
|
void |
setMenuAndRoles(String username) |
int |
updateByPrimaryKey(SysUser sysUser) |
void |
updateCurrent(SysUser user) |
delete, deleteByExample, deleteByIds, deleteByPrimaryKey, deleteByPrimaryKey, existsWithPrimaryKey, getList, insert, insertList, insertSelective, insertUseGeneratedKeys, select, selectAll, selectByExample, selectByExampleAndRowBounds, selectByIds, selectByPrimaryKey, selectByRowBounds, selectCount, selectCountByExample, selectOne, selectOneByExample, show, showAll, updateByExample, updateByExampleSelective, updateByPrimaryKeySelective
List<SysUser> selectListByPage(SysUser sysUser)
selectListByPage
in interface BaseService<SysUser,String>
int count()
int add(SysUser user)
user
- int checkUser(String username)
int updateByPrimaryKey(SysUser sysUser)
updateByPrimaryKey
in interface BaseService<SysUser,String>
List<SysRoleUser> selectByCondition(SysRoleUser sysRoleUser)
int rePass(SysUser user)
user
- void setMenuAndRoles(String username)
void updateCurrent(SysUser user)
Copyright © 2019. All rights reserved.