parent
df62a13ac3
commit
8d75042642
|
@ -68,7 +68,7 @@ public class PayBillApiSavePlugin implements ApiSavePlugin, ApiSerializerPlugin
|
||||||
logger.info("付款处理 → \nobjectType:{}\nobjectNumber:{}\nbankNumber:{}", objectType, objectNumber, bankNumber);
|
logger.info("付款处理 → \nobjectType:{}\nobjectNumber:{}\nbankNumber:{}", objectType, objectNumber, bankNumber);
|
||||||
|
|
||||||
fieldName2 = "payerbank";
|
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);
|
logger.info("dynamicObjects.length:{}", dynamicObjects.length);
|
||||||
if (dynamicObjects.length > 0) {
|
if (dynamicObjects.length > 0) {
|
||||||
map.put(fieldName1, dynamicObjects[0].getPkValue());
|
map.put(fieldName1, dynamicObjects[0].getPkValue());
|
||||||
|
@ -96,7 +96,7 @@ public class PayBillApiSavePlugin implements ApiSavePlugin, ApiSerializerPlugin
|
||||||
bankNumber = (String) accountbank.get("number");
|
bankNumber = (String) accountbank.get("number");
|
||||||
logger.info("收款处理 → \nobjectType:{}\nobjectNumber:{}\nbankNumber:{}", objectType, objectNumber, bankNumber);
|
logger.info("收款处理 → \nobjectType:{}\nobjectNumber:{}\nbankNumber:{}", objectType, objectNumber, bankNumber);
|
||||||
fieldName2 = "payeebank";
|
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);
|
logger.info("dynamicObjects.length:{}", dynamicObjects.length);
|
||||||
if (dynamicObjects.length > 0) {
|
if (dynamicObjects.length > 0) {
|
||||||
map.put(fieldName1, dynamicObjects[0].getPkValue());
|
map.put(fieldName1, dynamicObjects[0].getPkValue());
|
||||||
|
|
Loading…
Reference in New Issue