单据类型关联约束付款事项代码提交02

This commit is contained in:
zengweihai 2024-06-13 14:24:32 +08:00
parent 1f6eb6a331
commit fb7e34d503
1 changed files with 2 additions and 2 deletions

View File

@ -77,9 +77,9 @@ public class CommonBillOsPaymentBillFormPlugin extends AbstractBillPlugIn implem
QF.and("shkd_org.name",QCP.equals,orgName);
logger.info("过滤条件单据类型为"+billType+",组织名称为:"+orgName);
ArrayList<Object> paymentNumbers = new ArrayList<>();
DynamicObject[] loads = BusinessDataServiceHelper.load("shkd_paymatter", "id,shkd_paymatterinfonumber", QF.toArray());
DynamicObject[] loads = BusinessDataServiceHelper.load("shkd_paymatter", "id,shkd_paymatterinfo.number", QF.toArray());
for (DynamicObject load : loads) {
String paymentNumber = load.getString("shkd_paymatterinfonumber");
String paymentNumber = load.getString("shkd_paymatterinfo.number");
paymentNumbers.add(paymentNumber);
}
if (!paymentNumbers.isEmpty()){