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.

52 lines
1.2 KiB
C#

using DS.Module.Core;
using DS.Module.Core.Data;
using DS.WMS.Core.Code.Dtos;
using DS.WMS.Core.System.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);
/// <summary>
/// 批量删除
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public DataResult BatchDelFormSet(IdModel req);
}