You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.7 KiB
C#
69 lines
1.7 KiB
C#
using DS.Module.Core;
|
|
using DS.Module.Core.Data;
|
|
using DS.WMS.Core.Sys.Dtos;
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
namespace DS.WMS.Core.Sys.Interface;
|
|
|
|
public interface IUserService
|
|
{
|
|
/// <summary>
|
|
/// 列表查询
|
|
/// </summary>
|
|
/// <param name="request"></param>
|
|
/// <returns></returns>
|
|
DataResult<List<UserViewModel>> GetListByPage(PageRequest request);
|
|
|
|
/// <summary>
|
|
/// 获取单个用户信息
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
DataResult<UserViewModel> GetUserInfo(string id);
|
|
|
|
/// <summary>
|
|
/// 编辑用户信息
|
|
/// </summary>
|
|
/// <param name="model"></param>
|
|
/// <returns></returns>
|
|
DataResult EditUser(UserReq model);
|
|
|
|
/// <summary>
|
|
/// 用户唯一码检测
|
|
/// </summary>
|
|
/// <param name="code"></param>
|
|
/// <returns></returns>
|
|
public Task<DataResult> CheckUserCode(string code);
|
|
|
|
|
|
/// <summary>
|
|
/// 删除用户
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
public Task<DataResult> BatchDelUser(IdModel req);
|
|
|
|
|
|
/// <summary>
|
|
/// 按Excel导入用户信息
|
|
/// </summary>
|
|
/// <param name="file"></param>
|
|
/// <returns></returns>
|
|
public Task<DataResult<string>> ImportUserByExcel(IFormFile file);
|
|
|
|
|
|
/// <summary>
|
|
/// 查询客户端 用户拥有的菜单权限
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public Task<DataResult<List<RouteItem>>> GetClientUserPermissions(string id);
|
|
|
|
|
|
/// <summary>
|
|
/// 根据权限模块获取数据范围列表
|
|
/// </summary>
|
|
/// <param name="permissionId"></param>
|
|
/// <returns></returns>
|
|
|
|
public Task<DataResult<List<DataRuleRes>>> GetDataRuleListByPermission(string permissionId);
|
|
} |