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.
55 lines
1.5 KiB
C#
55 lines
1.5 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 IDataRuleTemplateService
|
|
{
|
|
/// <summary>
|
|
/// 列表
|
|
/// </summary>
|
|
/// <param name="request"></param>
|
|
/// <returns></returns>
|
|
Task<DataResult<List<CodeDataRuleTemplateRes>>> GetListByPage(PageRequest request);
|
|
|
|
|
|
/// <summary>
|
|
/// 编辑
|
|
/// </summary>
|
|
/// <param name="model"></param>
|
|
/// <returns></returns>
|
|
Task<DataResult> EditDataRuleTemplate(CodeDataRuleTemplateReq model);
|
|
|
|
/// <summary>
|
|
/// 获取详情
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
Task<DataResult<CodeDataRuleTemplateRes>> GetDataRuleTemplateInfo(string id);
|
|
|
|
/// <summary>
|
|
/// 批量删除
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
public Task<DataResult> BatchDelDataRuleTemplate(IdModel req);
|
|
|
|
/// <summary>
|
|
/// 根据权限id获取数据权限模板
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <param name="ruleType"></param>
|
|
/// <returns></returns>
|
|
|
|
Task<DataResult<List<CodeDataRuleTemplateRes>>> GetDataRuleTemplateSelectList(string id, string ruleType);
|
|
|
|
/// <summary>
|
|
/// 数据权限模板复制
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
|
|
public Task<DataResult> BatchCopyDataRuleTemplate(IdModel req);
|
|
} |