@Service public class SysUserServiceImpl extends BaseServiceImpl<SysUser,String> implements SysUserService
Constructor and Description |
---|
SysUserServiceImpl() |
Modifier and Type | Method and Description |
---|---|
int |
add(SysUser user)
新增
|
int |
checkUser(String username) |
int |
count() |
JsonUtil |
delById(String id,
boolean flag)
删除
|
int |
deleteByPrimaryKey(String id) |
BaseMapper<SysUser,String> |
getMappser() |
List<SysUser> |
getUserByRoleId(String roleId) |
List<Checkbox> |
getUserRoleByJson(String id) |
int |
insert(SysUser record) |
int |
insertSelective(SysUser record) |
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 record) |
int |
updateByPrimaryKeySelective(SysUser record) |
void |
updateCurrent(SysUser sysUser)
更新session头像
|
addValue, delete, deleteByExample, deleteByIds, deleteByPrimaryKey, existsWithPrimaryKey, getList, insertList, insertUseGeneratedKeys, select, selectAll, selectByExample, selectByExampleAndRowBounds, selectByIds, selectByPrimaryKey, selectByRowBounds, selectCount, selectCountByExample, selectOne, selectOneByExample, show, showAll, updateByExample, updateByExampleSelective
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
delete, deleteByExample, deleteByIds, deleteByPrimaryKey, existsWithPrimaryKey, getList, insertList, insertUseGeneratedKeys, select, selectAll, selectByExample, selectByExampleAndRowBounds, selectByIds, selectByPrimaryKey, selectByRowBounds, selectCount, selectCountByExample, selectOne, selectOneByExample, show, showAll, updateByExample, updateByExampleSelective
public BaseMapper<SysUser,String> getMappser()
getMappser
in class BaseServiceImpl<SysUser,String>
public SysUser login(String username)
login
in interface SysUserService
public int deleteByPrimaryKey(String id)
deleteByPrimaryKey
in interface BaseService<SysUser,String>
deleteByPrimaryKey
in class BaseServiceImpl<SysUser,String>
public int insert(SysUser record)
insert
in interface BaseService<SysUser,String>
insert
in class BaseServiceImpl<SysUser,String>
public int insertSelective(SysUser record)
insertSelective
in interface BaseService<SysUser,String>
insertSelective
in class BaseServiceImpl<SysUser,String>
public SysUser selectByPrimaryKey(String id)
selectByPrimaryKey
in interface SysUserService
public int updateByPrimaryKeySelective(SysUser record)
updateByPrimaryKeySelective
in interface BaseService<SysUser,String>
updateByPrimaryKeySelective
in class BaseServiceImpl<SysUser,String>
public int updateByPrimaryKey(SysUser record)
updateByPrimaryKey
in interface BaseService<SysUser,String>
updateByPrimaryKey
in interface SysUserService
updateByPrimaryKey
in class BaseServiceImpl<SysUser,String>
public List<SysRoleUser> selectByCondition(SysRoleUser sysRoleUser)
selectByCondition
in interface SysUserService
public List<SysUser> selectListByPage(SysUser sysUser)
selectListByPage
in interface BaseService<SysUser,String>
selectListByPage
in interface SysUserService
selectListByPage
in class BaseServiceImpl<SysUser,String>
public int count()
count
in interface SysUserService
public int add(SysUser user)
SysUserService
add
in interface SysUserService
public JsonUtil delById(String id, boolean flag)
SysUserService
delById
in interface SysUserService
public int checkUser(String username)
checkUser
in interface SysUserService
public List<Checkbox> getUserRoleByJson(String id)
getUserRoleByJson
in interface SysUserService
public int rePass(SysUser user)
SysUserService
rePass
in interface SysUserService
public List<SysUser> getUserByRoleId(String roleId)
getUserByRoleId
in interface SysUserService
public void setMenuAndRoles(String username)
setMenuAndRoles
in interface SysUserService
public void updateCurrent(SysUser sysUser)
updateCurrent
in interface SysUserService
Copyright © 2019. All rights reserved.