文档
测试

获取项目财务流水列表

GET
http://test.52miaosuan.com:8090/miaosuan/finance/project/flow/list

接口描述

获取项目财务流水列表

请求头

参数名
类型
描述
必填
user_id
int
用户编号
必填

请求参数

参数名
类型
描述
必填
page_index
int
分页页码
必填
page_size
int
每页显示的条数
必填
finance_project_id
int
项目编号
必填
filter_type
int
状态过滤参数,-1 - 所有状态,0 - 未收,1 - 已收,2 - 未付,3 - 已付
必填
sort_order
int
排序规则,0 - 降序,1 - 升序
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:成功
必填
data
object
数据字典
必填
item_list
array
数据列表
必填
id
int
流水ID
必填
update_time
string
流水更新时间,示例:2021-01-14 05:35:18
必填
series_number
string
流水编号,示例:010010000001
必填
amount
float
流水金额,示例:1024.24
必填
upper_amount
string
流水金额大写,示例:壹仟零贰拾肆元贰角肆分
必填
flow_type
string
流水类型名称,示例:支出-材料费
必填
flow_direct
int
流水方向,0 - 支出,1 - 收入
必填
flow_status
string
流水状态,示例:未付、未收、已付、已收
必填
trade_type
string
示例:支付宝转账
必填
related_name
string
示例:项目支出流水
必填
recorder_name
string
示例:张师兄
必填
description
string
示例:项目支出流水测试
必填
flow_done
int
流水是否完成标志,0 - 未完成,1 - 完成
必填
occur_time
string
流水发生时间
必填
flow_type_id
int
流水二级分类ID
必填
flow_category_id
int
流水一级分类ID
必填
total_num
int
示例:2
必填

说明 / 示例

返回响应: ```json { "code": 0, "msg": "成功", "data": { "item_list": [ { "id": 9, "update_time": "2021-01-14 05:35:18", "occur_time": "2021-02-24", "series_number": "010010000001", "amount": 1024.24, "upper_amount": "壹仟零贰拾肆元贰角肆分", "flow_category_name": "流水一级分类名称", "flow_category_id": 0, "flow_type": "支出-材料费", "flow_type_id": 1, "flow_direct": 0, "flow_done": 0, "flow_status": "未付", "trade_type": "支付宝转账", "related_name": "项目支出流水", "recorder_name": "张师兄", "description": "项目支出流水测试", "material_name": "材料" } ], "total_num": 1 } } ```