修改TSL EDI

optimize
jianghaiqing 2 years ago
parent 5217afeb87
commit 9c94244801

@ -866,7 +866,7 @@ namespace Myshipping.Application.EDI.TSL
//if (bill.ISSUETYPE == "正本")
if (bill.ISSUETYPE == "ORIGINAL")
{
r.WriteLine("DOC+706+:26++" + GetBillNum(bill.NOBILL).EmptyDefaultNum() + "'");
r.WriteLine("DOC+706+:26++" + GetBillNum(bill.NOBILL) + "'");
icount = icount + 1;
if (!string.IsNullOrWhiteSpace(copynum))
{
@ -877,14 +877,14 @@ namespace Myshipping.Application.EDI.TSL
}
else if (bill.ISSUETYPE == "海运单" || bill.ISSUETYPE.ToUpper() == "SEAWAY" || bill.ISSUETYPE.ToUpper() == "SEAWAY BILL" || bill.ISSUETYPE.ToUpper() == "WAYBILL" || bill.ISSUETYPE.ToUpper() == "SWB正本" || bill.ISSUETYPE.ToUpper() == "SWB无正本")
{
r.WriteLine("DOC+710+:26++" + GetBillNum(bill.NOBILL).EmptyDefaultNum() + "'");
r.WriteLine("DOC+710+:26++" + GetBillNum(bill.NOBILL) + "'");
icount = icount + 1;
}
//else if (bill.ISSUETYPE.ToUpper() == "BILL COPY" || bill.ISSUETYPE == "电放")
else if (bill.ISSUETYPE.ToUpper() == "BILL COPY" || bill.ISSUETYPE == "TELEX")
{
r.WriteLine("DOC+706+:26++" + GetBillNum(bill.NOBILL).EmptyDefaultNum() + "'");
r.WriteLine("DOC+706+:26++" + GetBillNum(bill.NOBILL) + "'");
icount = icount + 1;
if (!string.IsNullOrWhiteSpace(copynum))
{
@ -895,7 +895,7 @@ namespace Myshipping.Application.EDI.TSL
}
else if (bill.ISSUETYPE == "正副本")
{
r.WriteLine("DOC+706+:26++" + GetBillNum(bill.NOBILL).EmptyDefaultNum() + "'");
r.WriteLine("DOC+706+:26++" + GetBillNum(bill.NOBILL) + "'");
icount = icount + 1;
if (!string.IsNullOrWhiteSpace(copynum))
{
@ -906,7 +906,7 @@ namespace Myshipping.Application.EDI.TSL
}
else if (bill.ISSUETYPE.ToUpper() == "HOUSE BILL")
{
r.WriteLine("DOC+714+:26++" + GetBillNum(bill.NOBILL).EmptyDefaultNum() + "'");
r.WriteLine("DOC+714+:26++" + GetBillNum(bill.NOBILL) + "'");
icount = icount + 1;
}

@ -25,5 +25,13 @@ namespace Myshipping.Application
/// <param name="bookingIds">订舱主键组</param>
/// <returns>返回回执</returns>
Task<TaskManageExcuteResultDto> ExcuteShippingOrderCompareBatchAsync(string[] bookingIds);
/// <summary>
/// 批量执行下货纸比对
/// </summary>
/// <param name="bookingIds">订舱主键组</param>
/// <returns>返回回执</returns>
Task<TaskManageExcuteResultDto> AutoTaskShippingOrderCompareCallBackAsync(string[] bookingIds);
}
}

@ -275,6 +275,17 @@ namespace Myshipping.Application
return result;
}
/// <summary>
/// 批量执行下货纸比对
/// </summary>
/// <param name="bookingIds">订舱主键组</param>
/// <returns>返回回执</returns>
public async Task<TaskManageExcuteResultDto> AutoTaskShippingOrderCompareCallBackAsync(string[] bookingIds)
{
return new TaskManageExcuteResultDto();
}
/// <summary>
/// 生成请求规则报文
/// </summary>

Loading…
Cancel
Save