简要描述
- 分页
分页
- 权限标签
prj:project:paging
- 新建 by zj 2022-03-16 21:39:06 星期三
请求URL
{URL}/prj/project/received/count/paging
请求方式
请求参数
{
"conditions":{
},
"inOrder":"",
"orderBy":"",
"pageNum":1,
"pageSize":20
}
参数
参数名 |
必选 |
类型 |
说明 |
inOrder |
是 |
string |
asc正序 desc倒序 |
orderBy |
是 |
string |
需要排序字段 |
pageNum |
是 |
int |
当前页数 |
pageSize |
是 |
int |
单页条数 |
conditions |
否 |
object |
检索条件 |
返回示例
{
"code":0,
"message":"请求成功",
"data":{
"records":[
{
"id": 38,
"name": "房屋建设工程项目B",
"customerId": 20,
"planStartDate": "2022-01-25",
"planEndDate": "2022-01-10",
"actualStartDate": null,
"actualEndDate": null,
"addressDetail": "嘉兴市中环东路创业路605号",
"durationDays": 356,
"quantityDays": 650,
"costs": 2555,
"expectedProfit": 60,
"branchOfficeName": "港瑞控股集团有限公司",
"principalMemberId": 1,
"typeId": 7,
"statusId": 2,
"acceptanceStatusId": 0,
"qualitySupervisionOrgName": null,
"buildArea": null,
"structureTypeId": null,
"actualPrincipalMemberId": null,
"internalFlag": 0,
"customerName": "嘉兴市秀水园林绿化工程有限公司",
"receivablesPrice": 400000000,
"unReceivedPrice": null
},
{
"id": 38,
"name": "房屋建设工程项目B",
"customerId": 20,
"planStartDate": "2022-01-25",
"planEndDate": "2022-01-10",
"actualStartDate": null,
"actualEndDate": null,
"addressDetail": "嘉兴市中环东路创业路605号",
"durationDays": 356,
"quantityDays": 650,
"costs": 2555,
"expectedProfit": 60,
"branchOfficeName": "港瑞控股集团有限公司",
"principalMemberId": 1,
"typeId": 7,
"statusId": 2,
"acceptanceStatusId": 0,
"qualitySupervisionOrgName": null,
"buildArea": null,
"structureTypeId": null,
"actualPrincipalMemberId": null,
"internalFlag": 0,
"customerName": "嘉兴市秀水园林绿化工程有限公司",
"receivablesPrice": 400000000,
"unReceivedPrice": null
}
],
"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 |
项目名称 |
customerName |
string |
客户名称 |
planStartDate |
string |
计划开始时间 |
planEndDate |
string |
计划结束时间 |
receivablesPrice |
num |
应收金额 |
unReceivedPrice |
num |
未收金额 |
statusId |
num |
项目状态id 项目状态 1-立项 2-竣工 3-投标 4-中标 5-落标 6-中止 7-停滞 8-施工 9-验收 |