|
|
|
@ -14,6 +14,7 @@ using Myshipping.Core.Entity;
|
|
|
|
|
using Myshipping.Core.Service;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using Newtonsoft.Json.Linq;
|
|
|
|
|
using NPOI.XWPF.UserModel;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.IO;
|
|
|
|
@ -526,7 +527,9 @@ namespace Myshipping.Application.Event
|
|
|
|
|
//订舱编号和客户端BSNO
|
|
|
|
|
ord.BSNO = item.GetStringValue("orderId");
|
|
|
|
|
ord.CUSTNO = item.GetStringValue("custNO");
|
|
|
|
|
await repoOrder.AsUpdateable(ord).UpdateColumns(x => new { x.BSNO, x.CUSTNO }).ExecuteCommandAsync();
|
|
|
|
|
ord.CUSTOMERNAME = custOrder.BookingTenantName;
|
|
|
|
|
ord.LANENAME = ord.LANECODE;
|
|
|
|
|
await repoOrder.AsUpdateable(ord).UpdateColumns(x => new { x.BSNO, x.CUSTOMERNAME, x.LANENAME }).ExecuteCommandAsync();
|
|
|
|
|
|
|
|
|
|
_logger.LogInformation($"生成了订舱台账数据 {ord.Id}");
|
|
|
|
|
|
|
|
|
|