From 2ccaff89585dd227683771d38985fb906fbd901e Mon Sep 17 00:00:00 2001 From: ljw Date: Tue, 21 Jan 2025 11:33:37 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"fix=EF=BC=9A"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit fc34c94a49a8be1f95962903f90a496dde623b3e. --- .../com/yem/wm/es/exportinvoice/op/ExportInvoiceSaveOP.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/yem/wm/es/exportinvoice/op/ExportInvoiceSaveOP.java b/src/main/java/com/yem/wm/es/exportinvoice/op/ExportInvoiceSaveOP.java index 2b08478c..e2dffc0b 100644 --- a/src/main/java/com/yem/wm/es/exportinvoice/op/ExportInvoiceSaveOP.java +++ b/src/main/java/com/yem/wm/es/exportinvoice/op/ExportInvoiceSaveOP.java @@ -81,14 +81,14 @@ public class ExportInvoiceSaveOP extends AbstractOperationServicePlugIn { String yemLadbillnum = dataEntitie.getString("yem_ladbillnum");//提单号 // queryString//合同号 DynamicObjectCollection yem_shipports = dataEntitie.getDynamicObjectCollection("yem_shipports");//起运港 - if (!YEM.isEmpty(yem_shipports)&& !yem_shipports.isEmpty()) { + if (!YEM.isEmpty(yem_shipports)) { for (DynamicObject yemShipport : yem_shipports) { String ssa = yemShipport.getDynamicObject("fbasedataid").getString("name");//起运港 yemShipports.append(ssa); } } DynamicObjectCollection yem_Destports = dataEntitie.getDynamicObjectCollection("yem_destports");//目的港 - if (!YEM.isEmpty(yem_Destports)&& !yem_Destports.isEmpty()) { + if (!YEM.isEmpty(yem_Destports)) { for (DynamicObject yemShipport : yem_Destports) { String string = yemShipport.getDynamicObject("fbasedataid").getString("name"); yemDestports.append(string);//目的港