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.
95 lines
3.6 KiB
C#
95 lines
3.6 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="nominationDispatchIds">预甩货调度主键组</param>
|
|
/// <returns>返回回执</returns>
|
|
Task<TaskManageOrderResultDto> CreateShareLink(string[] nominationDispatchIds);
|
|
|
|
/// <summary>
|
|
/// 取消预甩货客户访问链接
|
|
/// </summary>
|
|
/// <param name="nominationDispatchIds">预甩货调度主键组</param>
|
|
/// <returns>返回回执</returns>
|
|
Task<TaskManageOrderResultDto> CancelShareLink(string[] nominationDispatchIds);
|
|
|
|
/// <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="nominationDispatchId">预甩货调度批次主键组</param>
|
|
/// <returns>返回回执</returns>
|
|
Task<TaskManageOrderResultDto> GetUrl(string nominationDispatchId);
|
|
|
|
/// <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="detailPKId">预甩货明细主键</param>
|
|
/// <param name="ctnCode">更新的箱型代码</param>
|
|
/// <returns>返回回执</returns>
|
|
Task<TaskManageOrderResultDto> SaveDetailContainer(string detailPKId, string ctnCode);
|
|
}
|
|
}
|