[TOC]
简要描述
请求URL
http://localhost:8082/makec/xcx/common/queryMaterialRecord
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
userId |
是 |
long |
用户Id |
roleKey |
是 |
string |
角色值 |
返回示例
{
"msg": "获取辅料记录成功!",
"code": 0,
"data": [
{
"searchValue": null,
"createBy": null,
"createTime": "2023-01-11 09:10:10",
"updateBy": null,
"updateTime": null,
"remark": "领取缝纫线",
"params": {},
"id": 13,
"trimsId": 5,
"trimsName": "缝纫线",
"trimsStandard": "202,203,402,403,602,603",
"trimsQuantity": 61,
"quantityReceived": 1,
"processType": "1",
"receiver": "102",
"receiverName": "王秀萍"
},
{
"searchValue": null,
"createBy": null,
"createTime": "2023-01-13 14:27:23",
"updateBy": null,
"updateTime": null,
"remark": "领取辅料1",
"params": {},
"id": 14,
"trimsId": 5,
"trimsName": "缝纫线",
"trimsStandard": "202,203,402,403,602,603",
"trimsQuantity": 60,
"quantityReceived": 1,
"processType": "1",
"receiver": "102",
"receiverName": "王秀萍"
},
{
"searchValue": null,
"createBy": null,
"createTime": "2023-01-19 10:44:49",
"updateBy": null,
"updateTime": null,
"remark": "领取水洗标 缎标 5件",
"params": {},
"id": 19,
"trimsId": 8,
"trimsName": "水洗标",
"trimsStandard": "缎标",
"trimsQuantity": 95,
"quantityReceived": 5,
"processType": "1",
"receiver": "102",
"receiverName": "王秀萍"
}
]
}
返回参数说明
参数名 |
类型 |
说明 |
code |
int |
0:成功;1:失败 |
id |
long |
辅料记录Id |
trimsId |
long |
辅料Id |
trimsName |
string |
辅料名称 |
trimsStandard |
string |
辅料规格 |
trimsQuantity |
long |
辅料数量 |
quantityReceived |
long |
领取数量 |
processType |
string |
工序类型(1:缝纫工序,2:A/B工序,3:成品工序) |
receiver |
string |
领取人Id |
receiverName |
string |
领取人名称 |
remark |
string |
备注 |
备注