|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Myshipping.Application
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 截单回执任务
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface ITaskManageSISubmittedService
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取截单回执详情
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="pkId">截单回执主键</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<TaskSISubmittedShowDto> GetInfo(string pkId);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 通过任务主键获取截单回执详情
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="taskPkId">截单回执任务主键</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<TaskSISubmittedShowDto> GetInfoByTaskId(string taskPkId);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 同步更新订舱订单的截单状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="taskPkId">截单回执任务主键</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<TaskManageOrderResultDto> SyncBookingSIStatus(string taskPkId);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 重新处理截单任务
|
|
|
|
|
/// 对未匹配订舱订单的任务记录重新对应订单订单
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="taskPkId">截单回执任务主键</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<TaskManageOrderResultDto> SearchAndConnectBookingInfo(string taskPkId);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 处理SI截单回执
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="taskPkId">截单回执任务主键</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<TaskManageOrderResultDto> ProcessSISubmitted(string taskPkId);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取订舱详情
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="taskPKId">任务主键</param>
|
|
|
|
|
/// <returns>返回结果</returns>
|
|
|
|
|
Task<TaskBookingOrderDto> GetBookingOrderInfo(string taskPKId);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取SI反馈信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="taskPKId">任务主键</param>
|
|
|
|
|
/// <returns>返回结果</returns>
|
|
|
|
|
Task<TaskSIFeedBackResultDto> GetSIFeedBackInfo(string taskPKId);
|
|
|
|
|
}
|
|
|
|
|
}
|