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.

56 lines
1.4 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 IColumnSetService
{
/// <summary>
/// 列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
DataResult<List<ColumnSetRes>> GetListByPage(PageRequest request);
/// <summary>
/// 编辑
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
DataResult EditColumnSet(ColumnSetReq model);
/// <summary>
/// 获取详情
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
DataResult<ColumnSetRes> GetColumnSetInfo(string id);
/// <summary>
/// 按模块获取列表设置详情
/// </summary>
/// <param name="permissionId">权限模块id</param>
/// <param name="columnNo">列表序号</param>
/// <returns></returns>
DataResult<ColumnSetRes> GetColumnSetInfoByModule(string permissionId,int columnNo = 0);
/// <summary>
/// 批量删除
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public DataResult BatchDelColumnSet(IdModel req);
/// <summary>
/// 更新列表设置字段长度
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public Task<DataResult> UpdateColumnSetField(UpdateColumnFieldReq req);
}