From 4e2ae7b10458fc518374bcf558debcc909145fd7 Mon Sep 17 00:00:00 2001 From: jianghaiqing Date: Tue, 5 Nov 2024 18:01:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=90=E5=8D=95=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BLIssueManage/BLIssueManageService.cs | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/ds-wms-service/DS.WMS.Core/Op/Method/BLIssueManage/BLIssueManageService.cs b/ds-wms-service/DS.WMS.Core/Op/Method/BLIssueManage/BLIssueManageService.cs index 323a2ed9..a00582fc 100644 --- a/ds-wms-service/DS.WMS.Core/Op/Method/BLIssueManage/BLIssueManageService.cs +++ b/ds-wms-service/DS.WMS.Core/Op/Method/BLIssueManage/BLIssueManageService.cs @@ -2374,6 +2374,19 @@ namespace DS.WMS.Core.Op.Method }; if (hOrder != null && hOrder.Id > 0) + { + model.IssueType = hOrder.IssueType; + //model.IssueTypeCode = hOrder.IssueTypeCode; + //model.IssuePlaceCode = hOrder.IssuePlaceCode; + model.IssuePlace = hOrder.IssuePlace; + model.LoadPortId = hOrder.LoadPortId; + //model.LoadPortCode = hOrder.LoadPortCode; + model.LoadPort = hOrder.LoadPort; + model.DischargePortId = hOrder.DischargePortId; + //model.DischargePortCode = hOrder.DischargePortCode; + model.DischargePort = hOrder.DischargePort; + } + else { model.IssueType = order.IssueType; model.IssueTypeCode = order.IssueTypeCode; @@ -2387,19 +2400,6 @@ namespace DS.WMS.Core.Op.Method model.DischargePort = order.DischargePort; model.CustomerService = order.CustomerService; } - else - { - model.IssueType = hOrder.IssueType; - //model.IssueTypeCode = hOrder.IssueTypeCode; - //model.IssuePlaceCode = hOrder.IssuePlaceCode; - model.IssuePlace = hOrder.IssuePlace; - model.LoadPortId = hOrder.LoadPortId; - //model.LoadPortCode = hOrder.LoadPortCode; - model.LoadPort = hOrder.LoadPort; - model.DischargePortId = hOrder.DischargePortId; - //model.DischargePortCode = hOrder.DischargePortCode; - model.DischargePort = hOrder.DischargePort; - } if (order.ETD.HasValue && order.StlDate.HasValue) {