| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| buyerTypes | List<String> | 否 | 买家类型,可选值:HEADQUARTERS(总部)、BRANCH(分公司)、STORE(门店)、CUSTOMER(客户) |
| buyerIds | List<Long> | 否 | 查询所有余额明细时使用,买家机构ID列表 |
| receiptType | Integer | 否 | 交易类型:1-收款,2-付款 |
| summaryIds | List<Long> | 否 | 摘要ID列表 |
| sort | String | 否 | 排序规则,格式:createTime:desc(排序字段:创建时间) |
| createTimeBegin | String | 是 | 制单时间开始,格式:yyyy-MM-dd HH:mm:ss |
| createTimeEnd | String | 是 | 制单时间结束,格式:yyyy-MM-dd HH:mm:ss |
| accountTypeIds | List<Integer> | 否 | 账户类型ID列表 |
| pageNum | Integer | 否 | 页码,默认 1 |
| pageSize | Integer | 否 | 每页条数,默认 20 |
Page<OpenReceiptAccountFlowVO>| 字段名 | 类型 | 说明 |
|---|---|---|
| total | Long | 总记录数 |
| current | Long | 当前页码 |
| size | Long | 每页条数 |
| pages | Long | 总页数 |
| records | List | 数据列表 |
| 字段名 | 类型 | 说明 |
|---|---|---|
| id | Long | 流水记录ID |
| flowCode | String | 流水单号 |
| sourceBillCode | String | 来源业务单号 |
| otherOrgId | Long | 账户机构ID |
| otherOrgType | String | 账户机构类型:HEADQUARTERS(总部)、BRANCH(分公司)、STORE(门店)、CUSTOMER(客户)、SUPPLIER(供应商) |
| otherOrgTypeName | String | 账户机构类型名称 |
| otherOrgCode | String | 交易对手结构编码 |
| otherOrgName | String | 交易对手结构名称 |
| otherOrgRegion | String | 账户机构所属区域 |
| accountTypeId | Integer | 账户类型ID |
| accountTypeName | String | 账户名称 |
| sourceBillRelateCode | String | 关联的源事件业务单号(如订单号、其他收支单号,多个用逗号分隔) |
| balanceMoneyChange | BigDecimal | 收支金额 |
| incomeMoney | BigDecimal | 本期收入 |
| expenseMoney | BigDecimal | 本期支出 |
| balanceMoney | BigDecimal | 账户余额 |
| summaryId | Long | 摘要ID |
| summaryDesc | String | 摘要描述 |
| createId | Long | 制单人ID |
| createName | String | 创建人名称 |
| createTime | String | 创建时间 |
| sourceBillCreateTime | String | 业务单据时间 |
| remark | String | 备注 |
{
"buyerTypes": ["HEADQUARTERS", "BRANCH"],
"buyerIds": [1001, 1002],
"receiptType": 1,
"summaryIds": [10, 11],
"sort": "createTime:desc",
"createTimeBegin": "2026-08-01 00:00:00",
"createTimeEnd": "2026-08-28 23:59:59",
"accountTypeIds": [1, 2],
"pageNum": 1,
"pageSize": 20
}{
"total": 100,
"current": 1,
"size": 20,
"pages": 5,
"records": [
{
"id": 12345,
"flowCode": "FL202608280001",
"sourceBillCode": "SO202608270001",
"otherOrgId": 1001,
"otherOrgType": "HEADQUARTERS",
"otherOrgTypeName": "总部",
"otherOrgCode": "ORG001",
"otherOrgName": "XX总部",
"otherOrgRegion": "华东区",
"accountTypeId": 1,
"accountTypeName": "预付款账户",
"sourceBillRelateCode": "SO202608270001",
"balanceMoneyChange": 5000.00,
"incomeMoney": 5000.00,
"expenseMoney": 0.00,
"balanceMoney": 50000.00,
"summaryId": 10,
"summaryDesc": "订单收款",
"createId": 100,
"createName": "张三",
"createTime": "2026-08-28 10:30:00",
"sourceBillCreateTime": "2026-08-27 15:00:00",
"remark": ""
}
]
}