Modifier and Type | Method and Description |
---|---|
int |
changePwd(Integer userId,
String pwd)
修改密码
|
User |
getByAccount(String account)
通过账号获取用户
|
List<Map<String,Object>> |
selectUsers(DataScope dataScope,
String name,
String beginTime,
String endTime,
Integer deptid)
根据条件查询用户列表
|
int |
setRoles(Integer userId,
String roleIds)
设置用户的角色
|
int |
setStatus(Integer userId,
int status)
修改用户状态
|
delete, deleteBatchIds, deleteById, deleteByMap, insert, insertAllColumn, selectBatchIds, selectById, selectByMap, selectCount, selectList, selectMaps, selectMapsPage, selectObjs, selectOne, selectPage, update, updateAllColumnById, updateById, updateForSet
int setStatus(@Param(value="userId") Integer userId, @Param(value="status") int status)
List<Map<String,Object>> selectUsers(@Param(value="dataScope") DataScope dataScope, @Param(value="name") String name, @Param(value="beginTime") String beginTime, @Param(value="endTime") String endTime, @Param(value="deptid") Integer deptid)
int setRoles(@Param(value="userId") Integer userId, @Param(value="roleIds") String roleIds)
Copyright © 2018. All rights reserved.