12345678910111213141516171819202122232425262728293031323334353637 |
- using Bowin.Common.Linq.Entity;
- using YLShipBuildLandMap.Entity;
- using YLShipBuildLandMap.Entity.ViewModel;
- using YLShipBuildLandMap.Entity.ViewModel.SystemSetting;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace YLShipBuildLandMap.Services.SystemSetting
- {
- public interface IUserService
- {
- LoginUser Login(string loginID, string passMd5);
- LoginUser GetLoginUserById(Guid userID);
- LoginUser GetLoginUserByCmOAId(string oaID);
- IGridResultSet<UserView> GetUserViewsForSelect(string loginID, string name, int? pageIndex = null, int? pageSize = null, Guid?[] departIds = null,bool isAllUser = false);
- IGridResultSet<UserView> GetUserViewList(string userName, Guid? roleID, int? recordStatus, List<Guid> useridList, int? pageIndex = null, int? pageSize = null);
- UserView GetUserView(Guid userID);
- Task Save(UserView user, Guid operatorID);
- Task Delete(List<Guid> userIDList);
- UserView GetUserViewByName(string loginID, string name);
- Task UpdatePwd(Guid userID, string newPassword);
- Task ResetPwd(Guid Id, Guid userID);
- List<UserView> GetUserViewListByRoleName(string roleName);
- LoginUser GetLoginUserByWeChatUserId(string weChatUserId);
- int SetWechatUser(Guid userId, string weChatUserId);
- IGridResultSet<UserRoleView> GetUserRoleList();
- void ChangePassword(string loginID, string password, string newPassword);
- IGridResultSet<UserView> GetSysUserForSelect(Guid? prinicipalUserId, string key, int? pageIndex = 1, int? pageSize = 999, Guid?[] departIds = null, string roleName = null);
- }
- }
|