using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Myshipping.Core.Entity; using System.Collections.Generic; using System.Threading.Tasks; namespace Myshipping.Core.Service; public interface ISysUserService { Task AddUser(AddUserInput input); Task ChangeUserStatus(UpdateUserInput input); Task DeleteUser(DeleteUserInput input); //Task ExportUser([FromQuery] UserInput input); Task ImportUser(IFormFile file); Task GetUser([FromQuery] QueryUserInput input); Task GetUserById(long userId); Task> GetUserDataScopeIdList(long userId = 0); Task GetUserOwnData([FromQuery] QueryUserInput input); Task GetUserOwnRole([FromQuery] QueryUserInput input); Task GetUserSelector([FromQuery] UserInput input); Task GrantUserData(UpdateUserInput input); Task GrantUserRole(UpdateUserInput input); Task QueryUserPageList([FromQuery] UserInput input); Task ResetUserPwd(ResetPasswordUserInput input); Task SaveAuthUserToUser(AuthUserInput authUser, UserInput sysUser); Task UpdateAvatar(UploadAvatarInput input); Task UpdateUser(UpdateUserInput input); Task UpdateUserInfo(UpdateUserInput input); Task UpdateUserPwd(ChangePasswordUserInput input); Task> GetDataScopeIdUserList(long userId = 0); void CheckDataScopeByUserId(long userId); void CheckDataScope(long orgId); Task> GetTenantUser(string name,long? tenantId); /// /// 通过职位获取用户信息 /// /// /// 职位代码 PCDD-调度 /// 返回用户详情 Task> QueryUserByPos(string name, string pos); }