diff --git a/src/main/java/com/yem/wm/im/csrCreditLine/op/CsrCreditLineSaveOp.java b/src/main/java/com/yem/wm/im/csrCreditLine/op/CsrCreditLineSaveOp.java index 414b9915..fa00872c 100644 --- a/src/main/java/com/yem/wm/im/csrCreditLine/op/CsrCreditLineSaveOp.java +++ b/src/main/java/com/yem/wm/im/csrCreditLine/op/CsrCreditLineSaveOp.java @@ -44,7 +44,7 @@ public class CsrCreditLineSaveOp extends AbstractOperationServicePlugIn { */ private void genCreditTitle(DynamicObject dataEntity) { // 客户所在国 - String customercountry = dataEntity.getString("yem_customercountry"); + DynamicObject customercountry = dataEntity.getDynamicObject("yem_arrivalofgoods"); // 买方英文名称 DynamicObject customer = dataEntity.getDynamicObject("yem_customer"); if (customer == null) { @@ -56,7 +56,7 @@ public class CsrCreditLineSaveOp extends AbstractOperationServicePlugIn { // 类型 String type = dataEntity.getString("yem_type"); if (YEM.isNotEmpty(customercountry) && YEM.isNotEmpty(customerName) && YEM.isNotEmpty(type)) { - dataEntity.set("yem_credittitle", customercountry + " " + customerName + " " + extracted(dataEntity, "yem_type") + " " + "信保限额申请"); + dataEntity.set("yem_credittitle", customercountry.getString("name") + " " + customerName + " " + extracted(dataEntity, "yem_type") + " " + "信保限额申请"); } else { dataEntity.set("yem_credittitle", null); }