简要描述
- 分页
分页
- 权限标签
xx:xx:paging
- 新建 by zj 2022-05-05 16:31:48 星期四
请求URL
{URL}/prj/contract/quantity/type/count/paging
请求方式
请求参数
{
"conditions":{
"name" : "合同名称",
"auditStatusCode" : 1
},
"inOrder":"",
"orderBy":"",
"pageNum":1,
"pageSize":20
}
参数
参数名 |
必选 |
类型 |
说明 |
inOrder |
是 |
string |
asc正序 desc倒序 |
orderBy |
是 |
string |
需要排序字段 |
pageNum |
是 |
int |
当前页数 |
pageSize |
是 |
int |
单页条数 |
conditions |
否 |
object |
检索条件 |
name |
否 |
string |
合同名称【模糊】 |
auditStatusCode |
否 |
num |
审批状态标签 1-未审批 2-审批中 3-审批通过 4-审批不通过 |
返回示例
{
"code":0,
"message":"请求成功",
"data":{
"records":[
{
"id" : 1,
"name" : "合同名称",
"quantityLaborPrice" : 12,
"quantityMaterialPrice" : 13,
"quantityLeasePrice" : 13,
"quantityReimbursePrice" : 13,
"quantityTotalPrice": 134,
"auditStatusCode":1
},
{
"id" : 1,
"name" : "合同名称",
"quantityLaborPrice" : 12,
"quantityMaterialPrice" : 13,
"quantityLeasePrice" : 13,
"quantityReimbursePrice" : 13,
"quantityTotalPrice": 134,
"auditStatusCode":1
}
],
"total":46,
"size":20,
"current":1,
"orders":[],
"pages":3
}
}
返回参数说明
参数名 |
类型 |
说明 |
code |
int |
返回结果 0 成功 500 异常 |
message |
int |
返回信息 |
data |
object |
返回结果 |
pages |
int |
总页数 |
orders |
list |
排序对象 |
current |
int |
当前页数 |
size |
int |
单页数量 |
total |
int |
总数 |
records |
list |
返回结果 |
id |
num |
数据id |
name |
string |
合同名称 |
quantityLaborPrice |
num |
劳务费 |
quantityMaterialPrice |
num |
材料费 |
quantityLeasePrice |
num |
租赁费用 |
quantityLeasePrice |
num |
报销费用 |
quantityReimbursePrice |
num |
预算总金额 |
auditStatusCode |
num |
审批状态标签 1-未审批 2-审批中 3-审批通过 4-审批不通过 |