You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3.0 KiB
3.0 KiB
列出车间生产不良明细(ListSerialDefects)
此接口用于获取车间组件不良明细,搜索不良明细
基本信息
方法:POST
URL: http://localhost:8033/open/ListSerialDefects
请求
请求参数
参数名 | 类型 | 必填 | 说明 |
---|---|---|---|
profile | string | 是 | 厂区代码 |
StartTime | string | 是 | 开始时间 |
EndTime | string | 是 | 结束时间 |
StationType | array[string] | 否 | 站点类型(QEL(前EL)\CYHJY(层压后检验)\HEL(后EL)\QJ(全检)\QC(品质管控)) |
示例 1:
{
"data": {
"profile": "测试",
"StartTime": "2024-09-30 00:00:00",
"EndTime": "2024-09-31 00:00:00"
}
}
响应
响应字段
字段 | 类型 | 说明 |
---|---|---|
StationType | string | 站点类型 |
DefectList | Array | 物料属性 |
DefectList字段
字段 | 类型 | 说明 |
---|---|---|
SerialNbr | string | 组件序列号 |
WksId | string | 机台号 |
CreateTime | string | 不良创建时间 |
DefectGroupDesc | string | 不良大类名称 |
DefectTypeDesc | string | 不良小类名称 |
DefectPosition | string | 不良位置 |
Operator | string | 不良提交人 |
查询成功时,响应如下:
{
"clock": "2024-09-30 14:12:33.463",
"status": "ok",
"data": {
"list": [
{
"StationType": "QEL",
"DefectList": [
{
"SerialNbr": "20230704001",
"WksId": "QEL001",
"CreateTime": "2024-09-30 05:00:00",
"DefectGroupDesc": "EL不良",
"DefectTypeDesc": "破片",
"DefectPosition": "A-8",
"Operator": "admin"
}
]
},
{
"StationType": "HEL",
"DefectList": [
{
"SerialNbr": "20230704001",
"WksId": "HEL001",
"CreateTime": "2024-09-30 05:00:00",
"DefectGroupDesc": "EL不良",
"DefectTypeDesc": "隐裂",
"DefectPosition": "C-6",
"Operator": "admin"
}
]
},
{
"StationType": "QJ",
"DefectList": [
{
"SerialNbr": "20230704001",
"WksId": "QJ001",
"CreateTime": "2024-09-30 05:00:00",
"DefectGroupDesc": "外观不良",
"DefectTypeDesc": "玻璃脏污",
"DefectPosition": "",
"Operator": "admin"
}
]
},
]
}
}
查询报错:
{
"clock": "2024-09-30 20:00:00.000",
"status": "exception",
"message": "错误信息",
"data": {}
}