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); } }