修改人:邹江涛

修改内容:API入参出参修改
修改时间:2024/11/14
This commit is contained in:
zoujiangtao 2024-11-14 18:04:53 +08:00
parent df62a13ac3
commit 8d75042642
1 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ public class PayBillApiSavePlugin implements ApiSavePlugin, ApiSerializerPlugin
logger.info("付款处理 → \nobjectType{}\nobjectNumber{}\nbankNumber:{}", objectType, objectNumber, bankNumber);
fieldName2 = "payerbank";
DynamicObject[] dynamicObjects = BusinessDataServiceHelper.load(objectType, "id,billno", new QFilter("billno", QCP.equals, objectNumber).toArray());
DynamicObject[] dynamicObjects = BusinessDataServiceHelper.load(objectType, "id,number", new QFilter("number", QCP.equals, objectNumber).toArray());
logger.info("dynamicObjects.length{}", dynamicObjects.length);
if (dynamicObjects.length > 0) {
map.put(fieldName1, dynamicObjects[0].getPkValue());
@ -96,7 +96,7 @@ public class PayBillApiSavePlugin implements ApiSavePlugin, ApiSerializerPlugin
bankNumber = (String) accountbank.get("number");
logger.info("收款处理 → \nobjectType{}\nobjectNumber{}\nbankNumber:{}", objectType, objectNumber, bankNumber);
fieldName2 = "payeebank";
DynamicObject[] dynamicObjects = BusinessDataServiceHelper.load(objectType, "id", new QFilter("billno", QCP.equals, objectNumber).toArray());
DynamicObject[] dynamicObjects = BusinessDataServiceHelper.load(objectType, "id,number", new QFilter("number", QCP.equals, objectNumber).toArray());
logger.info("dynamicObjects.length{}", dynamicObjects.length);
if (dynamicObjects.length > 0) {
map.put(fieldName1, dynamicObjects[0].getPkValue());