From 71e482b3aa24d15713839025e1b647ae1db63b99 Mon Sep 17 00:00:00 2001 From: ljw Date: Tue, 21 Jan 2025 11:33:39 +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 0289611ec02d5c05c394576f834218a261cbeabf. --- .../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 e2dffc0b..75c335b9 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)) { + if (yem_shipports != null) { 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)) { + if (yem_Destports != null) { for (DynamicObject yemShipport : yem_Destports) { String string = yemShipport.getDynamicObject("fbasedataid").getString("name"); yemDestports.append(string);//目的港