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.5 KiB
C#
56 lines
1.5 KiB
C#
using DS.Module.Core;
|
|
using DS.Module.Core.Data;
|
|
using DS.WMS.Core.Fee.Dtos;
|
|
using DS.WMS.Core.Fee.Entity;
|
|
|
|
namespace DS.WMS.Core.Fee.Interface
|
|
{
|
|
/// <summary>
|
|
/// 往来单位费用模板
|
|
/// </summary>
|
|
public interface IFeeCustTemplateService
|
|
{
|
|
/// <summary>
|
|
/// 根据业务ID与类型生成费用
|
|
/// </summary>
|
|
/// <param name="etd">开船日</param>
|
|
/// <returns></returns>
|
|
Task GenerateFeesAsync(DateTime etd);
|
|
|
|
/// <summary>
|
|
/// 导入费用模板
|
|
/// </summary>
|
|
/// <param name="models"></param>
|
|
/// <returns></returns>
|
|
Task<DataResult> ImportAsync(IEnumerable<FeeCustTemplateModel> models);
|
|
|
|
/// <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);
|
|
}
|
|
}
|