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/TaskManagePlat/Interface/ITaskManageRollingNominatio...

124 lines
4.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application
{
/// <summary>
/// 预甩货通知
/// </summary>
public interface ITaskManageRollingNominationService
{
/// <summary>
/// 获取预甩详情
/// </summary>
/// <param name="pkId">预甩主键</param>
/// <returns>返回回执</returns>
Task<TaskRollingNominationShowDto> GetInfo(string pkId);
/// <summary>
/// 通过任务主键获取预甩详情
/// </summary>
/// <param name="taskPkId">预甩任务主键</param>
/// <returns>返回回执</returns>
Task<TaskRollingNominationShowDto> GetInfoByTaskId(string taskPkId);
/// <summary>
/// 推送预甩货客户访问链接
/// </summary>
/// <param name="nominationDispatchId">预甩货调度主键组</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> PushShareLink(string[] nominationDispatchId);
/// <summary>
/// 生成预甩货调度
/// </summary>
/// <param name="model">生成预甩货调度请求</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> DispatchRollingNomination(RollingNominationDispatchRequestDto model);
/// <summary>
/// 刷新预甩货对应订舱
/// </summary>
/// <param name="nominationId">预甩货主键</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> RefreshBookingOrder(string nominationId);
/// <summary>
/// 查看分享链接
/// </summary>
/// <param name="dispatchBatchId">预甩调度批次号</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> GetUrl(string dispatchBatchId);
/// <summary>
/// 获取Status是load的可配载的列表
/// </summary>
/// <param name="nominationId">预甩货主键</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> GetLoadStatusDetailList(string nominationId);
/// <summary>
/// 获取提单号下预甩货的单票明细
/// </summary>
/// <param name="nominationId">预甩货主键</param>
/// <param name="shipmentNo">提单号</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> GetPreBillDetailList(string nominationId,string shipmentNo);
/// <summary>
/// 保存预甩货明细箱型信息(处理没有给箱型高度或者未能翻译的箱型,进行人工修正)
/// </summary>
/// <param name="model">保存预甩货明细箱型请求</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> SaveDetailContainer(SaveDetailContainerDto model);
/// <summary>
/// 生成访问链接
/// </summary>
/// <param name="model">创建分享链接请求</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> GenShareLink(RollingNominationGenShareLinkDto model);
/// <summary>
/// 取消访问链接
/// </summary>
/// <param name="dispatchBatchId">预甩调度批次ID</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> CancelShareLink(string dispatchBatchId);
/// <summary>
/// 获取用户反馈信息
/// </summary>
/// <param name="dispatchBatchId">预甩调度批次ID</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> GetUserFeedBack(string dispatchBatchId);
/// <summary>
/// 发送预甩的通知
/// </summary>
/// <param name="model">请求详情</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> SendRollingNominationNotice(RollingNominationNoticeDto model);
/// <summary>
/// 获取预甩的通知预览
/// </summary>
/// <param name="model">请求详情</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> GetRollingNominationNoticeReview(RollingNominationNoticeDto model);
/// <summary>
/// 获取换船选择列表
/// </summary>
/// <param name="taskPkId">任务ID</param>
/// <returns></returns>
Task<TaskManageOrderResultDto> GetToShipSelect(string taskPkId);
}
}