feat: BFI分页新增按totalCount推导总页数的翻页方法,避免固定页数截断

This commit is contained in:
刘泉佳
2026-10-29 12:53:16 +08:00
parent 4068d24ee9
commit 459d818724
3 changed files with 84 additions and 2 deletions
@@ -65,7 +65,7 @@ A301-1 收款单查询(业务日期窗口取 `thirdParty.bfi.recBillSync.days`
### 3.2 收款流水同步:A301-2 → A301-1
`ReceiptFlowServiceImpl#sync()` 重写,`BfiUtil.queryAllPages` + `bfiService.queryRecBill` 全量翻页(pageSize 200),请求参数 `begin_bizdate` / `end_bizdate`(窗口天数取 Nacos `thirdParty.bfi.recBillSync.days`,默认 60)。
`ReceiptFlowServiceImpl#sync()` 重写,`BfiUtil.queryAllPagesByTotal`(按 totalCount 推导总页数,兜底 500 页)+ `bfiService.queryRecBill` 全量翻页(pageSize 200),请求参数 `begin_bizdate` / `end_bizdate`(窗口天数取 Nacos `thirdParty.bfi.recBillSync.days`,默认 60)。
**字段映射(A301-1 → blade_kingdee_receipt_flow)**: