You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
2.3 KiB
C#
70 lines
2.3 KiB
C#
using Microsoft.AspNetCore.Mvc;
|
|
using Myshipping.Core;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Myshipping.Application
|
|
{
|
|
public interface IBookingMSKAPIService
|
|
{
|
|
/// <summary>
|
|
/// 检索海运船期详情
|
|
/// </summary>
|
|
/// <param name="model">请求船期详情</param>
|
|
/// <returns>返回船期结果</returns>
|
|
Task<List<SearchShipSailingScheduleResultDto>> SearchShipSailingSchedule(QueryShipSailingScheduleDto model);
|
|
|
|
/// <summary>
|
|
/// 发送马士基订舱请求
|
|
/// </summary>
|
|
/// <param name="model">请求订舱详情</param>
|
|
/// <returns>返回检索结果</returns>
|
|
Task<MSKBookingResultDto> SendMSKBooking(MSKBookingDto model);
|
|
|
|
/// <summary>
|
|
/// 检索商品名称
|
|
/// </summary>
|
|
/// <param name="model">请求详情</param>
|
|
/// <returns>返回检索结果</returns>
|
|
Task<List<SearchCommodityResultDto>> SearchCommodities(QueryCommoditiesDto model);
|
|
|
|
/// <summary>
|
|
/// 检索始发地、目的港口信息
|
|
/// </summary>
|
|
/// <param name="model">请求详情</param>
|
|
/// <returns>返回检索结果</returns>
|
|
Task<List<QueryLocationsResultDto>> SearchLocations(QueryLocationsDto model);
|
|
|
|
/// <summary>
|
|
/// 马士基API订舱台账
|
|
/// </summary>
|
|
/// <param name="QuerySearch">查询条件</param>
|
|
/// <returns>返回台账列表</returns>
|
|
Task<SqlSugarPagedList<BookingDeliveryRecordPageDto>> GetPageAsync(QueryBookingDeliveryRecordDto QuerySearch);
|
|
|
|
/// <summary>
|
|
/// 获取马士基API订舱详情
|
|
/// </summary>
|
|
/// <param name="id">马士基API订舱ID</param>
|
|
/// <returns>返回详情</returns>
|
|
Task<MSKBookingDto> GetInfo(long id);
|
|
|
|
/// <summary>
|
|
/// 保存
|
|
/// </summary>
|
|
/// <param name="model">请求订舱详情</param>
|
|
/// <returns>返回ID</returns>
|
|
Task<long> Save(MSKBookingDto model);
|
|
|
|
/// <summary>
|
|
/// 删除
|
|
/// </summary>
|
|
/// <param name="id">请求订舱ID</param>
|
|
/// <returns></returns>
|
|
Task Delete(long id);
|
|
}
|
|
}
|