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 GetUserViewsForSelect(string loginID, string name, int? pageIndex = null, int? pageSize = null, Guid?[] departIds = null,bool isAllUser = false); IGridResultSet GetUserViewList(string userName, Guid? roleID, int? recordStatus, List useridList, int? pageIndex = null, int? pageSize = null); UserView GetUserView(Guid userID); Task Save(UserView user, Guid operatorID); Task Delete(List userIDList); UserView GetUserViewByName(string loginID, string name); Task UpdatePwd(Guid userID, string newPassword); Task ResetPwd(Guid Id, Guid userID); List GetUserViewListByRoleName(string roleName); LoginUser GetLoginUserByWeChatUserId(string weChatUserId); int SetWechatUser(Guid userId, string weChatUserId); IGridResultSet GetUserRoleList(); void ChangePassword(string loginID, string password, string newPassword); IGridResultSet GetSysUserForSelect(Guid? prinicipalUserId, string key, int? pageIndex = 1, int? pageSize = 999, Guid?[] departIds = null, string roleName = null); } }