From 15ad4b03e18f9b361417d2263125e196f7108d6c Mon Sep 17 00:00:00 2001 From: ljw Date: Tue, 8 Oct 2024 18:11:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=A4=96=E9=94=80=E5=90=88=E5=90=8C?= =?UTF-8?q?=E5=8F=98=E6=9B=B4=E5=8D=95=E5=90=88=E5=90=8C=E7=AD=BE=E7=AB=A0?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yem/ia/intebilllogon/Utils/ObjectToJsonUtils.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/yem/ia/intebilllogon/Utils/ObjectToJsonUtils.java b/src/main/java/com/yem/ia/intebilllogon/Utils/ObjectToJsonUtils.java index 79ed9194..24a8cbf4 100644 --- a/src/main/java/com/yem/ia/intebilllogon/Utils/ObjectToJsonUtils.java +++ b/src/main/java/com/yem/ia/intebilllogon/Utils/ObjectToJsonUtils.java @@ -119,8 +119,7 @@ public class ObjectToJsonUtils { JSONObject Object = new JSONObject(); Object.put("formCodeId", dataEntity.getString("yem_yzjid")); if (creator == null || creator.length() == 0) { - DynamicObject loadSingle = BusinessDataServiceHelper.loadSingle(pkid, dataEntity.getDynamicObjectType().getName()); - Object.put("creator", loadSingle.getString("yem_operator")); + Object.put("creator", dataEntity.getString("yem_creator")); } else { if ("yem_es_xsalesorder".equals(entityName)||"yem_es_salesorder".equals(entityName)){ Object.put("creator", dataEntity.getString("yem_operator.useropenid"));