简要描述
- 分页
分页
- 权限标签
prj:projectFollow:paging
- 新建 by zj 2022-01-12 22:38:06 星期三
- 修改 by zj 2022-06-27 00:37:20 星期一
返回参数 添加 pictureAttachmentList 图片列表
请求URL
{URL}/prj/project/follow/paging
请求方式
请求参数
{
"conditions":{
"projectId":123,
"content":"跟进内容",
"createBy":23,
"createByName":"跟进人姓名"
},
"inOrder":"",
"orderBy":"",
"pageNum":1,
"pageSize":20
}
参数
参数名 |
必选 |
类型 |
说明 |
inOrder |
是 |
string |
asc正序 desc倒序 |
orderBy |
是 |
string |
需要排序字段 |
pageNum |
是 |
int |
当前页数 |
pageSize |
是 |
int |
单页条数 |
conditions |
是 |
object |
检索条件 |
projectId |
是 |
num |
项目id |
content |
否 |
string |
跟进内容 【模糊】 |
createBy |
否 |
num |
跟进人id |
createByName |
否 |
string |
跟进人姓名 【模糊】 |
返回示例
{
"code":0,
"message":"请求成功",
"data":{
"records":[{
"id":123,
"content":"跟进内容",
"createBy":23,
"createByName":"跟进人姓名",
"createTime":"2020-02-09 12:23:23",
"pictureAttachmentList":[{
"id":123,
"name":"文件",
"url":"www.baidu.cin",
"createTime":"2021-09-07",
"createByName":"上传人姓名"
}]
}],
"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 |
content |
string |
跟进内容 |
createBy |
num |
跟进人id |
createByName |
string |
跟进人姓名 |
createTime |
string |
创建时间 |
pictureAttachmentList |
否 |
list |
图片列表 |
id |
num |
数据id |
name |
string |
文件名称 |
url |
string |
文件路径 |
createTime |
date |
创建时间 |
createByName |
string |
上传人姓名 |