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.
BookingHeChuan/Myshipping.Application/Service/BookingOrder/IBookingValueAddedService.cs

78 lines
2.5 KiB
C#

using Microsoft.AspNetCore.Http;
using Myshipping.Application.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application
{
/// <summary>
/// 订舱增值类服务
/// </summary>
public interface IBookingValueAddedService
{
/// <summary>
/// 批量BC下载
/// </summary>
/// <param name="bookingIds">订舱主键数组</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> DownloadBookingConfirm(long[] bookingIds);
/// <summary>
/// 批量Draft下载
/// </summary>
/// <param name="bookingIds">订舱主键数组</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> DownloadDraft(long[] bookingIds);
/// <summary>
/// 舱位分配查询
/// </summary>
/// <param name="bookingIds">订舱主键数组</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> CheckUpdateManifestNo(long[] bookingIds);
/// <summary>
/// 单票BC文件解析
/// </summary>
/// <param name="file">上传文件</param>
/// <param name="bookingOrderId">订舱主键</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> SingleBCFileRead(IFormFile file, long bookingOrderId);
/// <summary>
/// 单票BC更新订舱
/// </summary>
/// <param name="model">单票BC详情</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> SingleBCUpdateBookingOrder(SingleBCDto model);
/// <summary>
/// 批量BC更新订舱
/// </summary>
/// <param name="batchBCList">批量BC更新列表</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> BatchBCUpdate(List<BatchBCDto> batchBCList);
/// <summary>
/// 提交规则意见
/// </summary>
/// <param name="model">规则意见详情</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> SubmitRuleOpinion(RulesEngineUserFeedBackDto model);
/// <summary>
/// 查询规则意见历史
/// </summary>
/// <param name="model">规则意见详情</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> GetRuleOpinionLog(RulesEngineUserFeedBackDto model);
}
}