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.
|
|
|
using DS.Module.Core;
|
|
|
|
using DS.WMS.Core.System.Dtos;
|
|
|
|
using DS.WMS.Core.System.Entity;
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.System.Interface;
|
|
|
|
|
|
|
|
public interface ITenantService
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// 列表查询
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="request"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
DataResult<List<TenantRes>> GetListByPage(PageRequest request);
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取详情
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="id"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
DataResult<TenantRes> GetTenantInfo(string id);
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取租户权限
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="id"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<long[]> GetTenantPermission(string id);
|
|
|
|
/// <summary>
|
|
|
|
/// 获取租户权限授权数
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="id"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<PermissionAuth>> GetPermissionAuthList(string id);
|
|
|
|
/// <summary>
|
|
|
|
/// 租户权限模块授权
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="req"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult UpdateTenantPermission(TenantPermissionReq req);
|
|
|
|
}
|