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"));