using Myshipping.Core; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; using Myshipping.Application.Entity; using Myshipping.Application.Service.BookingOrder.Dto; using Microsoft.AspNetCore.Http; using System.Collections.Generic; namespace Myshipping.Application { public interface IBookingOrderService { Task Delete(string Ids); Task Get(long Id); Task> GetLog(long Id); Task Download(long id); Task> GetRemark(long Id); Task AddRemark(BookingRemarkDto dto); Task AddFile(IFormFile file, [FromForm] BookingFileDto dto); Task> GetFile(long Id); Task> GetBookingStatusLog(long Id); /// /// 发送订舱、截单EDI /// /// 订舱、截单EDI请求 /// 返回回执 Task SendBookingOrClosingEDI (BookingOrClosingEDIOrderDto model); Task BachUpdate(BatchUpdate dto); Task InnerBookingOrClosingEDI(BookingOrClosingEDIOrderDto model); /// /// 推送东胜 /// /// /// Task SendBookingOrder(long[] ids); /// /// 保存(新增或修改)放舱 /// /// 放舱详情 /// 返回放舱主键 Task LetteryardSave(UpdateBookingLetteryardInput input); /// /// 放舱发送 /// /// 订舱ID /// 放舱选择模板 /// Task SendLetterYard(long bookingId, long templateId); /// /// 设置货物状态完成 /// /// /// /// Task SetGoodsStatus(string code, long bookingId); Task SaveLog(BookingOrder newOrder, BookingOrder oldOrder); Task AutoYardData(long bookId); /// /// 推送服务状态 /// /// 服务状态代码 /// 订舱ID /// 是否默认同步东胜 true-自动同步 false-不自动同步 /// Task SetGoodsStatusPush(string code, long bookingId, bool isAutoSyncDS = false); /// /// 取消服务状态 /// /// 服务状态代码 /// 订舱编号 /// 是否默认同步东胜 true-自动同步 false-不自动同步 /// Task SetGoodsStatusCancel(string code, long bookingId, bool isAutoSyncDS = false); } }