数据权限相关
parent
458ebe47c9
commit
4d45830b64
@ -0,0 +1,43 @@
|
||||
namespace DS.Module.Core.Data;
|
||||
|
||||
/// <summary>
|
||||
/// 数据条件组
|
||||
/// </summary>
|
||||
public class DataGroupConditions
|
||||
{
|
||||
/// <summary>
|
||||
/// 逻辑操作符
|
||||
/// </summary>
|
||||
public string LogicalOperator { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 条件组
|
||||
/// </summary>
|
||||
public List<DataConditions> Conditions { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分组
|
||||
/// </summary>
|
||||
public List<DataGroupConditions> Groups { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 条件
|
||||
/// </summary>
|
||||
public class DataConditions
|
||||
{
|
||||
/// <summary>
|
||||
/// 字段
|
||||
/// </summary>
|
||||
public string Field { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作符
|
||||
/// </summary>
|
||||
public string Operator { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 值
|
||||
/// </summary>
|
||||
public string Value { get; set; }
|
||||
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
namespace DS.WMS.Core.System.Dtos;
|
||||
|
||||
/// <summary>
|
||||
/// 客户权限返回
|
||||
/// </summary>
|
||||
public class ClientPermissionRes
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键Id
|
||||
/// </summary>
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 权限名称
|
||||
/// </summary>
|
||||
public string PermissionName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 权限实体
|
||||
/// </summary>
|
||||
public string PermissionEntity { get; set; }
|
||||
}
|
@ -1,9 +1,30 @@
|
||||
using DS.Module.Core;
|
||||
using DS.WMS.Core.System.Dtos;
|
||||
using DS.WMS.Core.System.Entity;
|
||||
|
||||
namespace DS.WMS.Core.System.Interface;
|
||||
|
||||
public interface IDataRuleService
|
||||
{
|
||||
DataResult<List<SysDataRule>> GetListByPage(PageRequest request);
|
||||
/// <summary>
|
||||
/// 列表
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <returns></returns>
|
||||
DataResult<List<DataRuleRes>> GetListByPage(PageRequest request);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 编辑
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
/// <returns></returns>
|
||||
DataResult EditDataRule(DataRuleReq model);
|
||||
|
||||
/// <summary>
|
||||
/// 获取详情
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
DataResult<DataRuleRes> GetDataRuleInfo(string id);
|
||||
}
|
Loading…
Reference in New Issue