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.

84 lines
2.4 KiB
C#

4 months ago
using DS.Module.Core;
using DS.Module.Core.Data;
using DS.WMS.Core.Fee.Dtos;
4 months ago
using DS.WMS.Core.Fee.Entity;
namespace DS.WMS.Core.Fee.Interface
{
/// <summary>
/// 往来单位费用模板
/// </summary>
public interface IFeeCustTemplateService
{
/// <summary>
/// 根据业务ID与类型生成费用
/// </summary>
/// <param name="etd">开船日</param>
4 months ago
/// <returns></returns>
Task GenerateFeesAsync(DateTime etd);
4 months ago
/// <summary>
/// 导入费用模板
/// </summary>
/// <param name="models"></param>
/// <returns></returns>
Task<DataResult> ImportAsync(IEnumerable<FeeCustTemplateModel> models);
4 months ago
/// <summary>
/// 列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
Task<DataResult<List<FeeCustTemplate>>> GetListAsync(PageRequest request);
/// <summary>
/// 视图列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
Task<DataResult<List<FeeCustTemplateView>>> GetListViewAsync(PageRequest request);
4 months ago
/// <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>
/// 批量编辑模板
/// </summary>
/// <param name="list"></param>
/// <returns></returns>
Task<DataResult> BulkEditAsync(List<FeeCustTemplate> list);
/// <summary>
/// 批量编辑模板明细
/// </summary>
/// <param name="details"></param>
/// <returns></returns>
Task<DataResult> BulkEditDetailsAsync(List<FeeCustTemplateDetail> details);
1 month ago
/// <summary>
/// 复制模板
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
Task<DataResult> CopyAsync(params long[] ids);
4 months ago
/// <summary>
/// 根据ID批量删除
/// </summary>
1 month ago
/// <param name="ids"></param>
4 months ago
/// <returns></returns>
1 month ago
Task<DataResult> DeleteAsync(params long[] ids);
4 months ago
}
}