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.

48 lines
1.3 KiB
C#

3 months ago
using DS.Module.Core;
using DS.Module.Core.Data;
using DS.WMS.Core.Fee.Entity;
namespace DS.WMS.Core.Fee.Interface
{
/// <summary>
/// 往来单位费用模板
/// </summary>
public interface IFeeCustTemplateService
{
/// <summary>
/// 根据业务ID与类型生成费用
/// </summary>
/// <param name="etd">开船日</param>
3 months ago
/// <returns></returns>
Task GenerateFeesAsync(DateTime etd);
3 months ago
/// <summary>
/// 列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
Task<DataResult<List<FeeCustTemplate>>> GetListAsync(PageRequest request);
/// <summary>
/// 详情
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
Task<DataResult<FeeCustTemplate>> GetAsync(long id);
/// <summary>
/// 编辑
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
Task<DataResult> EditAsync(FeeCustTemplate model);
/// <summary>
/// 根据ID批量删除
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
Task<DataResult> DeleteAsync(IdModel model);
}
}