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.
58 lines
1.5 KiB
C#
58 lines
1.5 KiB
C#
1 year ago
|
using DS.Module.Core;
|
||
10 months ago
|
using DS.Module.Core.Data;
|
||
7 months ago
|
using DS.WMS.Core.Sys.Dtos;
|
||
|
using DS.WMS.Core.Sys.Entity;
|
||
10 months ago
|
using SqlSugar;
|
||
1 year ago
|
|
||
7 months ago
|
namespace DS.WMS.Core.Sys.Interface;
|
||
1 year ago
|
|
||
|
public interface ITenantService
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 列表查询
|
||
|
/// </summary>
|
||
|
/// <param name="request"></param>
|
||
|
/// <returns></returns>
|
||
10 months ago
|
DataResult<List<TenantRes>> GetListByPage(PageRequest request);
|
||
|
|
||
1 year ago
|
|
||
|
/// <summary>
|
||
10 months ago
|
/// 获取详情
|
||
1 year ago
|
/// </summary>
|
||
10 months ago
|
/// <param name="id"></param>
|
||
1 year ago
|
/// <returns></returns>
|
||
10 months ago
|
DataResult<TenantRes> GetTenantInfo(string id);
|
||
1 year ago
|
|
||
|
/// <summary>
|
||
10 months ago
|
/// 获取租户权限
|
||
1 year ago
|
/// </summary>
|
||
|
/// <param name="id"></param>
|
||
|
/// <returns></returns>
|
||
10 months ago
|
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);
|
||
10 months ago
|
|
||
|
/// <summary>
|
||
|
/// 获取租户表差异
|
||
|
/// </summary>
|
||
|
/// <param name="id"></param>
|
||
|
/// <returns></returns>
|
||
10 months ago
|
public DataResult<List<TableDifferenceInfo>> GetSaasTableDifference(string id);
|
||
10 months ago
|
|
||
|
/// <summary>
|
||
|
/// 更新租户表差异
|
||
|
/// </summary>
|
||
|
/// <param name="req"></param>
|
||
|
/// <returns></returns>
|
||
|
public DataResult UpdateSaasTableInfo(IdModel req);
|
||
1 year ago
|
}
|