using Myshipping.Core; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Myshipping.Application { public interface IBookingCOSCOService { /// /// 检索海运船期详情 /// /// 请求船期详情 /// 返回船期结果 Task> SearchShipSailingSchedule(QueryShipSailingScheduleDto model); /// /// 发送中远订舱请求 /// /// 请求订舱详情 /// 返回检索结果 Task SendMSKBooking(MSKBookingDto model); /// /// 检索商品名称 /// /// 请求详情 /// 返回检索结果 Task> SearchCommodities(QueryCommoditiesDto model); /// /// 检索始发地、目的港口信息 /// /// 请求详情 /// 返回检索结果 Task> SearchLocations(QueryLocationsCOSCODto model); /// /// 中远订舱台账 /// /// 查询条件 /// 返回台账列表 Task> GetPageAsync(QueryBookingDeliveryRecordDto QuerySearch); /// /// 获取中远订舱详情 /// /// 中远订舱ID /// 返回详情 Task GetInfo(long id); /// /// 保存 /// /// 请求订舱详情 /// 返回ID Task Save(MSKBookingDto model); /// /// 删除 /// /// 请求订舱ID /// Task Delete(long id); } }