查询[领料信息] - 分页和条件查询
GET
/materials-receive/list请求参数
Query 参数
limit
integer
每页限制条数
示例值:
10
page
integer
具体页码
示例值:
1
create_time_begin
string
可选
创建时间-始(2024-01-01T23:59:59)
create_time_end
string
可选
创建时间-末(2025-01-01T23:59:59)
dept
string
可选
领料部门(完全匹配)
odd_no
string
可选
领料单号(模糊匹配)
order
string
可选
排序规则(descend: 降序(默认) ascend: 升序)
receive_time_begin
string
可选
领料时间-始(2024-01-01T23:59:59)
receive_time_end
string
可选
领料时间-末(2025-01-01T23:59:59)
sort
string
可选
排序字段(例: create_time(默认): 创建时间)
warehouse_id
integer
仓库主键
Header 参数
warehouse_ids
array[string]
必需
示例值:
["2"]
示例代码
返回响应
成功(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": [
{
"warehouse_name": "仓库二号",
"receive_user": ":喜羊羊",
"receive_time": "2024-04-10T15:12:26",
"dept": "软件部",
"odd_no": "20240410151231001",
"list": [
{
"create_time": "2024-04-10T15:11:08",
"receive_user": ":喜羊羊",
"receive_state": 0,
"receive_time": "2024-04-10T15:12:26",
"description": "展会摆放",
"remark": "展会摆放",
"dept": "软件部",
"odd_no": "20240410151231001",
"materials_name": "4位分流器",
"receive_id": 13,
"receive_num": 2,
"unit": "个",
"materials_type": "A200/i1600",
"repay_num": 0,
"by_user": "系统管理员",
"warehouse_id": 2
}
],
"warehouse_id": 2
},
{
"warehouse_name": "仓库二号",
"receive_user": "冯旭霞",
"receive_time": "2024-01-22T16:48:52",
"dept": "业务部",
"odd_no": "20240122164903003",
"list": [
{
"create_time": "2024-01-22T16:47:17",
"receive_user": "冯旭霞",
"receive_state": 1,
"receive_time": "2024-01-22T16:48:52",
"description": "赠送",
"remark": "盖思 [4份\n]",
"dept": "业务部",
"odd_no": "20240122164903003",
"materials_name": "墨囊",
"receive_id": 5,
"receive_num": 24,
"unit": "个",
"materials_type": "A200/i1600",
"materials_id": 57,
"repay_num": 0,
"by_user": "admin",
"warehouse_id": 2
},
{
"create_time": "2024-01-22T16:47:17",
"receive_user": "冯旭霞",
"receive_state": 1,
"receive_time": "2024-01-22T16:48:52",
"description": "赠送",
"remark": "盖思 [4份\n]",
"dept": "业务部",
"odd_no": "20240122164903003",
"materials_name": "注射器",
"receive_id": 6,
"receive_num": 20,
"unit": "个",
"materials_type": "A200/i1600",
"materials_id": 58,
"repay_num": 0,
"by_user": "admin",
"warehouse_id": 2
},
{
"create_time": "2024-01-22T16:47:17",
"receive_user": "冯旭霞",
"receive_state": 1,
"receive_time": "2024-01-22T16:48:52",
"description": "赠送",
"remark": "盖思 [4份\n]",
"dept": "业务部",
"odd_no": "20240122164903003",
"materials_name": "4位分流器",
"receive_id": 7,
"receive_num": 4,
"unit": "个",
"materials_type": "A200/i1600",
"materials_id": 59,
"repay_num": 0,
"by_user": "admin",
"warehouse_id": 2
},
{
"create_time": "2024-01-22T16:47:17",
"receive_user": "冯旭霞",
"receive_state": 1,
"receive_time": "2024-01-22T16:48:52",
"description": "赠送",
"remark": "盖思 [4份\n]",
"dept": "业务部",
"odd_no": "20240122164903003",
"materials_name": "蝶形过滤器",
"receive_id": 8,
"receive_num": 16,
"unit": "个",
"materials_type": "A200/i1600",
"materials_id": 60,
"repay_num": 0,
"by_user": "admin",
"warehouse_id": 2
}
],
"warehouse_id": 2
},
{
"warehouse_name": "仓库一号",
"receive_user": "张三",
"receive_time": "2024-01-22T00:00:00",
"dept": "硬件研发部",
"odd_no": "20240122151227001",
"list": [
{
"create_time": "2024-01-22T15:10:42",
"receive_user": "张三",
"receive_state": 0,
"receive_time": "2024-01-22T00:00:00",
"description": "赠送",
"remark": "无",
"dept": "硬件研发部",
"odd_no": "20240122151227001",
"materials_name": "小飞机",
"receive_id": 3,
"receive_num": 10,
"unit": "个",
"materials_type": "Ab-1212",
"repay_num": 0,
"by_user": "admin",
"warehouse_id": 1
}
],
"warehouse_id": 1
},
{
"warehouse_name": "仓库一号",
"receive_user": "张三",
"receive_time": "2024-01-22T00:00:00",
"dept": "硬件研发部",
"odd_no": "20240122151547002",
"list": [
{
"create_time": "2024-01-22T15:14:02",
"receive_user": "张三",
"receive_state": 0,
"receive_time": "2024-01-22T00:00:00",
"description": "赠送",
"remark": "无",
"dept": "硬件研发部",
"odd_no": "20240122151547002",
"materials_name": "摩托车",
"receive_id": 4,
"receive_num": 10,
"unit": "个",
"materials_type": "Ab-1213",
"repay_num": 0,
"by_user": "admin",
"warehouse_id": 1
}
],
"warehouse_id": 1
},
{
"warehouse_name": "仓库一号",
"receive_user": "李四",
"receive_time": "2024-01-20T00:00:00",
"dept": "硬件研发部",
"odd_no": "20240120134022001",
"list": [
{
"create_time": "2024-01-19T15:25:21",
"receive_user": "李四",
"receive_state": 1,
"receive_time": "2024-01-20T00:00:00",
"description": "赠送",
"remark": "无",
"dept": "硬件研发部",
"odd_no": "20240120134022001",
"materials_name": "小飞机",
"receive_id": 1,
"receive_num": 10,
"unit": "个",
"materials_type": "Ab-1212",
"materials_id": 1,
"repay_num": 0,
"by_user": "张三",
"warehouse_id": 1
}
],
"warehouse_id": 1
},
{
"warehouse_name": "仓库一号",
"receive_user": "赵六",
"receive_time": "2024-01-17T00:00:00",
"dept": "研发部",
"odd_no": "20240127151712001",
"list": [
{
"create_time": "2024-01-19T15:27:00",
"receive_user": "赵六",
"receive_state": 1,
"receive_time": "2024-01-17T00:00:00",
"description": "使用",
"remark": "无",
"dept": "研发部",
"odd_no": "20240127151712001",
"materials_name": "摩托车",
"receive_id": 2,
"receive_num": 15,
"unit": "组",
"materials_type": "Ab-1213",
"materials_id": 2,
"repay_num": 0,
"by_user": "王五",
"warehouse_id": 1
}
],
"warehouse_id": 1
}
],
"total": 6,
"size": 10,
"current": 1,
"orders": [],
"optimizeCountSql": true,
"searchCount": true,
"countId": null,
"maxLimit": null,
"pages": 1
}
}
最后修改时间: 8 个月前