using DS.Module.Core;
using DS.Module.Core.Data;
using DS.Module.DjyRulesEngine;
using DS.WMS.Core.Op.Dtos;
using DS.WMS.Core.Op.EDI;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace DS.WMS.Core.Op.Interface;
public interface ISeaExportService
{
///
/// 列表
///
///
///
Task> GetListByPage(PageRequest request);
///
/// 海运出口分单列表
///
///
///
public Task>> GetSeaExportPartList(PageRequest request);
///
/// 编辑
///
///
///
Task EditSeaExport(SeaExportReq model);
///
/// 获取详情
///
///
///
Task> GetSeaExportInfo(string id);
///
/// 批量编辑单据
///
///
///
Task SeaExportBatchEdit(SeaExportBatchEditReq req);
///
/// 业务单据删除
///
/// 业务Id
///
public DataResult SeaExportDel(string id);
///
/// 业务单据删除
///
/// 业务Ids
///
public DataResult SeaExportBatchDel(IdModel req);
///
/// 业务单据单票复制
///
/// 业务Id
///
public DataResult SeaExportCopy(string id);
///
/// 获取场站数据
///
/// 业务Id
/// 是否网站数据 默认false
///
public Task> GetYardData(string id, bool isWeb = false);
///
/// 发起运踪订阅或者更新提单号
///
///
///
public Task> SendOrUpdateTrace(List req);
///
/// 运踪退订
///
///
///
public Task> UnsubscribeBillTrace(List req);
///
/// 获取VGM、VGM SI链接
///
/// 业务Id
///
public Task> VgmLink(string id);
///
/// 发送VGM
///
/// 业务Id
///
public Task> VgmSend(string id);
///
/// 批量获取vgm
///
/// 业务id 逗号拼接
///
public Task>> GetVmgDataList(string ids);
///
/// 批量保存vgm
///
///
///
public Task> SaveBatchVgm(List req);
///
/// 获取提箱小票链接
///
/// 业务Id
///
public Task> TxxpLink(string id);
///
/// 检查是否VOLTA并返回初始数据
///
/// 请求参数
/// 返回回执
public DataResult CheckAndInitVOLTAEdi(BookingOrClosingEDIOrderReq req);
///
/// 发送订舱、截单EDI
///
/// 订舱、截单EDI请求
/// 返回回执
public Task> SendBookingOrClosingEDI(BookingOrClosingEDIOrderReq req);
///
/// 下载订舱、截单EDI
///
///
///
public Task> DownloadBookingOrClosingEDI(BookingOrClosingEDIOrderReq req);
///
/// 发送下货纸
///
/// 业务id
///
public Task SendXHZ(string id);
///
/// 船司电放提交
///
/// 订舱主键数组
/// 每单的处理提交结果
public Task>> SubmitTelex(IdModel req);
///
/// 上传OCR附件
///
///
///
///
public Task> UploadOcrFile(IFormFile file, [FromForm] OpFileReq req);
///
/// 海运出口规则引擎校验
///
///
///
public Task> ExcuteRuleEngine(string id);
///
/// 订单及货运动态
///
///
///
public Task>> GetBookingStatusLogList(PageRequest request);
///
/// 发送托书
///
///
///
public Task> SendShippingOrderEmail(SendShippingOrderReq req);
///
/// 打印托书
///
///
///
public Task PrintShippingOrderPDF(string id);
///
/// 检索订单信息(如果当前为拆、合票,内包含分票信息)
///
/// 提单号
///
Task> SearchOrderInfo(string mblNo);
///
/// 刷新运踪(互联网和云港通)
///
///
///
public Task> RefreshYGT(long[] Ids);
///
/// 打印保函
///
///
///
public Task PrintShippingOrderLetterPDF(string id);
///
/// 获取海运出口日志
///
/// 业务Id
///
public Task>> GetSeaExportLogList(string id);
///
/// 获取订舱记录在指定网站的HTML数据
///
/// 业务Id
/// 网站编码;值为YARD或HLW_CD或YGT;YARD:获取订舱记录所属场站的网页数据;HLW_CD:获取互联网+的网页数据;YGT:获取云港通的网页数据
///
public Task> GetWebData(string id, string webCode);
}