From 038d3b6a8c2ab3714f2238eb0fc707e1bd627c71 Mon Sep 17 00:00:00 2001 From: zhangxiaofeng Date: Fri, 19 Jan 2024 13:33:57 +0800 Subject: [PATCH] =?UTF-8?q?AFR=E6=B6=88=E8=B4=B9=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E8=A1=A5=E5=85=85ETD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/djy.Service/Afr/AfrService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/djy.Service/Afr/AfrService.cs b/web/djy.Service/Afr/AfrService.cs index 4cec75b..41191fe 100644 --- a/web/djy.Service/Afr/AfrService.cs +++ b/web/djy.Service/Afr/AfrService.cs @@ -884,13 +884,13 @@ namespace djy.Service.AFR var expendResult = fin.Expend(new CustFee { CARRIER = masterItem.ShipCompanyCode, - ETD = null, + ETD = masterItem.LoadDate, VOYNO = masterItem.Voyno, VESSEL = masterItem.Vessel, HBLNO = dealHouseItem.HouseBillNo, SENDUSERID = User.GID, LURURENID = User.GID, - CtnrCount = 1, + CtnrCount = cntrAll.Count(c => c.PID == dealHouseItem.GID), CtnrInfo = string.Empty, BSTYPE = BusinessType.AFR_REPORT, SENDTYPE = sendType switch { 1 or 2 => 0, 3 => 1, _ => -1 }, @@ -1043,7 +1043,7 @@ namespace djy.Service.AFR var expendResult = fin.Expend(new CustFee { CARRIER = expendMasterItem.ShipCompanyCode, - ETD = null, + ETD = expendMasterItem.LoadDate, VOYNO = expendMasterItem.Voyno, VESSEL = expendMasterItem.Vessel, HBLNO = expendHouseItem.HouseBillNo,