|
|
|
|
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);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取订舱数据接口 备注 、 文件 、服务项目
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="bookingId">订舱ID</param>
|
|
|
|
|
/// <returns>返回服务状态列表</returns>
|
|
|
|
|
Task<BookingAttachedDataDto> GetAllDataVNTWO(long bookingId);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取订舱数据接口 日志、状态日志
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="bookingId">订舱ID</param>
|
|
|
|
|
/// <returns>返回日志详情</returns>
|
|
|
|
|
Task<BookingLogDataDto> GetAllLogDataVNTWO(long bookingId);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 保存服务项目
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model">修改服务项目详情</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<TaskManageOrderResultDto> SaveServiceProject(ModifyServiceProjectDto model);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 取消服务项目
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model">修改服务项目详情</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<TaskManageOrderResultDto> CancelServiceProject(ModifyServiceProjectDto model);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取服务项目列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model">查询服务项目和状态详情</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<TaskManageOrderResultDto> GetServiceProjectList(QueryServiceProjectWithStatus model);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取服务项目下的状态列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model">查询服务项目和状态详情</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<TaskManageOrderResultDto> GetServiceStatusList(QueryServiceProjectWithStatus model);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 保存服务状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model">修改服务状态详情</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<TaskManageOrderResultDto> SaveServiceStatus(ModifyServiceProjectStatusDto model);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 取消服务状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model">修改服务状态详情</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<TaskManageOrderResultDto> CancelServiceStatus(ModifyServiceProjectStatusDto model);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|