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.

44 lines
1.0 KiB
C#

12 months ago
using DS.Module.Core;
using DS.Module.Core.Data;
using DS.WMS.Core.Sys.Dtos;
12 months ago
namespace DS.WMS.Core.Sys.Interface;
12 months ago
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>
11 months ago
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);
12 months ago
}