diff --git a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/form/ApiMappingBillPlugin.java b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/form/ApiMappingBillPlugin.java index 67a51c7..c3c677b 100644 --- a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/form/ApiMappingBillPlugin.java +++ b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/form/ApiMappingBillPlugin.java @@ -52,7 +52,7 @@ public class ApiMappingBillPlugin extends AbstractFormPlugin implements Plugin { String billNumber = dataEntity.getString("shkd_sourcenumber"); logger.info("获取推送单据编码 → billNumber:{}", billNumber); // 获取想要推送单据类型 - String billMark = dataEntity.getDynamicObject("shkd_sourcebill").getDataEntityType().getName(); + String billMark = dataEntity.getDynamicObject("shkd_sourcebill").getString("number"); logger.info("获取推送单据类型 → billMark:{}", billMark); // 获取推送单据对象 DynamicObject billObject = BusinessDataServiceHelper.loadSingle(billMark, new QFilter("billno", QCP.equals, billNumber).toArray());