From ceea849da8aaa5b81db47f2b77b7bd928a8e34a1 Mon Sep 17 00:00:00 2001 From: "mingliang.tang" <1448969505@qq.com> Date: Fri, 4 Aug 2023 13:25:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E8=B4=A7=E5=8D=95=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AsnBackgroundWorker/AsnBackgroundWorker.cs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/WebApiService/src/Win_in.Sfs.Scp.WebApi.Agent/AsnBackgroundWorker/AsnBackgroundWorker.cs b/WebApiService/src/Win_in.Sfs.Scp.WebApi.Agent/AsnBackgroundWorker/AsnBackgroundWorker.cs index 3e4dc12..c22c5ce 100644 --- a/WebApiService/src/Win_in.Sfs.Scp.WebApi.Agent/AsnBackgroundWorker/AsnBackgroundWorker.cs +++ b/WebApiService/src/Win_in.Sfs.Scp.WebApi.Agent/AsnBackgroundWorker/AsnBackgroundWorker.cs @@ -147,15 +147,18 @@ namespace Win_in.Sfs.Scp.WebApi VendorCode = asn.VendId, Contacts = asn.ReceiveUser, Phone = "", - TruckNbr = asn.PlateNumber, + TruckNbr = asn.PlateNumber, Whse = "", - Dock = "", + Dock = "RM1", ShipDate = asn.ShipTime, DueDate = asn.ReceiveTime, - TimeWindow = asn.ReceivedPort, + TimeWindow =asn.ReceivedPort, Remark = asn.Remark, }; - + if (string.IsNullOrEmpty(asnMstr.TimeWindow)) + { + asnMstr.TimeWindow = "00:00-00:00"; + } foreach (var barcode in barcodes) { var det = new AsnDet()