修改cargoo

dev
jianghaiqing 2 months ago
parent 52837d3e1c
commit 405a57122a

@ -1,4 +1,7 @@
using System;
using DS.Module.Core;
using DS.WMS.Core.Op.Dtos;
using DS.WMS.Core.Op.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@ -6,8 +9,51 @@ using System.Threading.Tasks;
namespace DS.WMS.Core.Op.EDI
{
/// <summary>
/// Cargoo 帮助类
/// </summary>
public class CargooAPIHelper
{
#region 生成Cargoo报文(根据订舱详情生成报文)
/// <summary>
/// 生成Cargoo报文(根据订舱详情生成报文)
/// </summary>
/// <param name="bookingId"></param>
/// <returns></returns>
public async Task<DataResult<CargooShipmentDto>> GetCargooShipmentDto(long bookingId)
{
CargooShipmentDto dto = new CargooShipmentDto();
try
{
}
catch (Exception ex)
{
}
return DataResult<CargooShipmentDto>.Success(dto);
}
#endregion
/// <summary>
/// 发送Cargoo报文
/// </summary>
/// <param name="bookingId"></param>
/// <returns></returns>
public async Task<DataResult> SendCargooShipment(long bookingId)
{
try
{
var dto = await GetCargooShipmentDto(bookingId);
}
catch (Exception ex)
{
}
return DataResult.Successed("");
}
}
}

Loading…
Cancel
Save