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.

73 lines
1.9 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;
/// <summary>
///
/// </summary>
public interface IFormSetService
{
/// <summary>
/// 列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
DataResult<List<CodeFormSetRes>> GetListByPage(PageRequest request);
/// <summary>
/// 编辑
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
DataResult EditFormSet(CodeFormSetReq model);
/// <summary>
/// 获取详情
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
DataResult<CodeFormSetRes> GetFormSetInfo(string id);
/// <summary>
/// 根据权限模块和表单序号获取详情
/// </summary>
/// <param name="permissionId">权限模块id</param>
/// <param name="formNo">表单序号</param>
/// <returns></returns>
public DataResult<CodeFormSetRes> GetFormSetInfoByModule(string permissionId, int formNo = 0, string taskStatus = "");
/// <summary>
/// 批量删除
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public DataResult BatchDelFormSet(IdModel req);
/// <summary>
/// 根据权限模块获取表单设置列表
/// </summary>
/// <param name="permissionId"></param>
/// <returns></returns>
public Task<DataResult<List<CodeFormSetRes>>> GetFormSetListByModule(string permissionId);
/// <summary>
/// 表单设置公共标识
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public DataResult SetPublicFormSet(CodeFormSetPublicStatusReq req);
/// <summary>
/// 表单设置复制
/// </summary>
/// <param name="id">业务Id</param>
/// <returns></returns>
public Task<DataResult> FormSetCopy(string id);
}