条件分页查询申购文件
GET
/subscription请求参数
Query 参数
page
integer
页数
示例值:
1
limit
integer
每页条数
示例值:
10
subscription_num
string
申购单单号
sort
string
排序
order
string
顺序
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
object
必需
records
array [object {7}]
数据文件
total
integer
必需
size
integer
必需
current
integer
必需
orders
array[string]
必需
optimizeCountSql
boolean
必需
searchCount
boolean
必需
countId
null
必需
maxLimit
null
必需
pages
integer
必需
示例
{
"code": 20000,
"message": "条件分页查询成功",
"data": {
"records": [
{
"subscriptionNum": "R-202407110003",
"createTime": "2024-07-11T17:25:24",
"subscribe": "admin",
"sign": "{}",
"subscriptionState": "0",
"list": [
{
"materialsList": {
"materials_unit": "件",
"materials_color_number": "深黑",
"materials_id": 1,
"materials_sn": "A520",
"materials_spec": "a",
"category": "螺丝",
"materials_name": "A520解码器(芭比版)",
"materials_color": "黑色"
},
"purchaseId": 1,
"orderData": "2024-07-01T17:28:07",
"orderNum": 11,
"vendorId": 1,
"remark": "早点发货",
"vendorName": "供应商名称1",
"warehouseName": "仓库一号",
"materialsSn": "A520"
},
{
"materialsList": {
"materials_unit": "块",
"materials_color_number": "",
"materials_id": 2,
"materials_sn": "XP600",
"materials_spec": "a",
"category": "其他",
"materials_name": "XP600双头主板",
"materials_color": ""
},
"purchaseId": 2,
"orderData": "2024-07-01T17:28:11",
"orderNum": 11,
"vendorId": 1,
"remark": "早点发货",
"vendorName": "供应商名称1",
"warehouseName": "仓库一号",
"materialsSn": "XP600"
}
],
"subscriptionId": 1
}
],
"total": 1,
"size": 10,
"current": 1,
"orders": [],
"optimizeCountSql": true,
"searchCount": true,
"countId": null,
"maxLimit": null,
"pages": 1
}
}
最后修改时间: 6 个月前