单据类型关联约束付款事项代码提交02
This commit is contained in:
parent
1f6eb6a331
commit
fb7e34d503
|
@ -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()){
|
||||
|
|
Loading…
Reference in New Issue