@Service public class UserServiceImpl extends com.baomidou.mybatisplus.service.impl.ServiceImpl<UserMapper,User> implements IUserService
Constructor and Description |
---|
UserServiceImpl() |
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)
修改用户状态
|
currentModelClass, delete, deleteBatchIds, deleteById, deleteByMap, insert, insertAllColumn, insertBatch, insertBatch, insertOrUpdate, insertOrUpdateAllColumn, insertOrUpdateAllColumnBatch, insertOrUpdateAllColumnBatch, insertOrUpdateBatch, insertOrUpdateBatch, retBool, selectBatchIds, selectById, selectByMap, selectCount, selectList, selectMap, selectMaps, selectMapsPage, selectObj, selectObjs, selectOne, selectPage, selectPage, sqlSessionBatch, sqlStatement, update, updateAllColumnBatchById, updateAllColumnBatchById, updateAllColumnById, updateBatchById, updateBatchById, updateById, updateForSet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
delete, deleteBatchIds, deleteById, deleteByMap, insert, insertAllColumn, insertBatch, insertBatch, insertOrUpdate, insertOrUpdateAllColumn, insertOrUpdateAllColumnBatch, insertOrUpdateAllColumnBatch, insertOrUpdateBatch, insertOrUpdateBatch, selectBatchIds, selectById, selectByMap, selectCount, selectList, selectMap, selectMaps, selectMapsPage, selectObj, selectObjs, selectOne, selectPage, selectPage, update, updateAllColumnBatchById, updateAllColumnBatchById, updateAllColumnById, updateBatchById, updateBatchById, updateById, updateForSet
public int setStatus(Integer userId, int status)
IUserService
setStatus
in interface IUserService
public int changePwd(Integer userId, String pwd)
IUserService
changePwd
in interface IUserService
public List<Map<String,Object>> selectUsers(DataScope dataScope, String name, String beginTime, String endTime, Integer deptid)
IUserService
selectUsers
in interface IUserService
public int setRoles(Integer userId, String roleIds)
IUserService
setRoles
in interface IUserService
public User getByAccount(String account)
IUserService
getByAccount
in interface IUserService
Copyright © 2018. All rights reserved.