批量开票申请保存、删除反写付款单状态

This commit is contained in:
XiangLingFeng 2025-12-26 13:42:45 +08:00
parent 81a710ce2a
commit e1f1acd2ea
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ public class PayableApplyBillDeleteOperationPlugin extends AbstractOperationServ
for (DynamicObject bill : bills) {
long billId = bill.getLong("id");
//查询上游付款单
List<BFRow> bfRows = BFTrackerServiceHelper.loadBillLinkUp("cdm_payablebill",
List<BFRow> bfRows = BFTrackerServiceHelper.loadBillLinkUp(bill.getDataEntityType().getName(),
new Long[]{billId}, true);
HashSet<Long> payBillIds = new HashSet<>();
for (BFRow bfRow : bfRows) {

View File

@ -27,7 +27,7 @@ public class PayableApplyBillSaveOperationPlugin extends AbstractOperationServic
for (DynamicObject bill : bills) {
long billId = bill.getLong("id");
//查询上游付款单
List<BFRow> bfRows = BFTrackerServiceHelper.loadBillLinkUp("cdm_payablebill",
List<BFRow> bfRows = BFTrackerServiceHelper.loadBillLinkUp(bill.getDataEntityType().getName(),
new Long[]{billId}, true);
HashSet<Long> payBillIds = new HashSet<>();
for (BFRow bfRow : bfRows) {