using Dto; using Feign; using Model; using Model.Base; using Vo; namespace Services { public interface ISysUserService : IBaseService { public PagedInfo SelectUserList(SysUserQueryDto user, PagerInfo pager); /// /// 通过用户ID查询用户 /// /// /// public SysUser SelectUserById(long userId); /// /// 校验用户名称是否唯一 /// /// /// public string CheckUserNameUnique(string userName); /// /// 新增保存用户信息 /// /// /// public SysUser InsertUser(SysUser sysUser); /// /// 修改用户信息 /// /// /// public int UpdateUser(SysUser user); public int ChangeUser(SysUser user); /// /// 重置密码 /// /// /// /// public int ResetPwd(long userid, string password); public int ChangeUserStatus(SysUser user); /// /// 删除用户 /// /// /// public int DeleteUser(long userid); /// /// 修改用户头像 /// /// /// public int UpdatePhoto(SysUser user); /// /// 注册 /// /// /// SysUser Register(RegisterDto dto); void CheckUserAllowed(SysUser user); void CheckUserDataScope(long userid, long loginUserId); /// /// 导入 /// /// /// (string, object, object) ImportUsers(List users); SysUser Login(LoginBodyDto user); void UpdateLoginInfo(string userIP, long userId); PagedInfo TestList(SysDeptFeign SysDept); } }