|
|
|
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);
|
|
|
|
|
|
|
|
/// <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);
|
|
|
|
}
|