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.
64 lines
1.8 KiB
C#
64 lines
1.8 KiB
C#
using DS.Module.Core;
|
|
using DS.Module.Core.Data;
|
|
using DS.WMS.Core.Code.Dtos;
|
|
using DS.WMS.Core.Sys.Dtos;
|
|
|
|
namespace DS.WMS.Core.Code.Interface;
|
|
|
|
public interface ICodeDataRuleService
|
|
{
|
|
/// <summary>
|
|
/// 列表
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
Task<DataResult<List<CodeDataRuleRes>>> GetCodeDataRuleList(GetOrCreateCodeDataRuleReq req);
|
|
|
|
/// <summary>
|
|
/// 数据权限指定范围
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
public Task<DataResult> AssignDataRuleScope(AssignDataRuleScopeReq req);
|
|
|
|
/// <summary>
|
|
/// 数据权限复制
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
public Task<DataResult> CopyDataRuleScope(CopyDataRuleScopeReq req);
|
|
|
|
/// <summary>
|
|
/// 用户可视权限应用全部
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
public Task<DataResult> UserVisibleDataRuleScopeApply(UserDataRuleScopeApplyReq req);
|
|
/// <summary>
|
|
/// 用户操作权限应用全部
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
public Task<DataResult> UserOperateDataRuleScopeApply(UserDataRuleScopeApplyReq req);
|
|
///// <summary>
|
|
///// 编辑
|
|
///// </summary>
|
|
///// <param name="model"></param>
|
|
///// <returns></returns>
|
|
//Task<DataResult> EditCodeDataRule(CodeDataRuleReq model);
|
|
|
|
///// <summary>
|
|
///// 获取详情
|
|
///// </summary>
|
|
///// <param name="id"></param>
|
|
///// <returns></returns>
|
|
//Task<DataResult<CodeDataRuleRes>> GetCodeDataRuleInfo(string id);
|
|
|
|
///// <summary>
|
|
///// 批量删除
|
|
///// </summary>
|
|
///// <param name="req"></param>
|
|
///// <returns></returns>
|
|
//public Task<DataResult> BatchDelCodeDataRule(IdModel req);
|
|
|
|
} |