棒料详情(2.0)
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>棒料详情接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://47.111.70.10:8091/collector-siot-smb/api/smb/refinedQuery</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">Long</td>
<td>是</td>
<td>棒料id</td>
</tr>
<tr>
<td style="text-align: left;">smbCode</td>
<td style="text-align: left;">String</td>
<td>是</td>
<td>棒料编号</td>
</tr>
<tr>
<td style="text-align: left;">deviceId</td>
<td style="text-align: left;">Long</td>
<td>是</td>
<td>检测设备id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"msg": "操作成功",
"code": 200,
"data": {
"id": 112,
"smbCode": "202208151556085242071OcpN",
"batchId": null,
"deviceId": 24209,
"checkStatus": "不通过",
"checkTime": "2022-08-15 15:56:10",
"createTime": null,
"createUserId": null,
"updateTime": null,
"updateUserId": null,
"isDeleted": null,
"pageIndex": 0,
"pageSize": 0,
"contrastSmbItems": null,
"batchCode": null,
"deviceName": "0000001C0000000",
"name": "检测策略006,全点位测试",
"tacticsId": null,
"tacticsIds": "6,1",
"tacticsItems": null,
"voltage": 0.26,
"current": null,
"record": [
{
"timing": "2022-08-09 15:32:30",
"value": 1
},
{
"timing": "2022-08-09 15:33:30",
"value": 2
},
{
"timing": "2022-08-09 15:35:30",
"value": 3
},
{
"timing": "2022-08-09 15:38:30",
"value": 4
}
],
"cellList": [
{
"cell": "A",
"U": 20,
"I": 52,
"R": 100,
"Q": 1000,
"Qw": 200
},
{
"cell": "B",
"U": 20,
"I": 52,
"R": 100,
"Q": 1000,
"Qw": 200
},
{
"cell": "C",
"U": 20,
"I": 52,
"R": 100,
"Q": 1000,
"Qw": 200
},
{
"cell": "D",
"U": 20,
"I": 52,
"R": 100,
"Q": 1000,
"Qw": 200
},
{
"cell": "E",
"U": 20,
"I": 52,
"R": 100,
"Q": 1000,
"Qw": 200
},
{
"cell": "F",
"U": 20,
"I": 52,
"R": 100,
"Q": 1000,
"Qw": 200
},
{
"cell": "G",
"U": 21,
"I": 52,
"R": 100,
"Q": 1000,
"Qw": 200
},
{
"cell": "H",
"U": 21,
"I": 52,
"R": 100,
"Q": 1000,
"Qw": 200
},
{
"cell": "I",
"U": 21,
"I": 52,
"R": 100,
"Q": 1000,
"Qw": 200
},
{
"cell": "J",
"U": 21,
"I": 52,
"R": 100,
"Q": 1000,
"Qw": 200
},
{
"cell": "K",
"U": 21,
"I": 52,
"R": 100,
"Q": 1000,
"Qw": 200
},
{
"cell": "L",
"U": 21,
"I": 52,
"R": 100,
"Q": 1000,
"Qw": 200
},
{
"cell": "M",
"U": 21,
"I": 52,
"R": 100,
"Q": 1000,
"Qw": 200
},
{
"cell": "N",
"U": 21,
"I": 52,
"R": 100,
"Q": 1000,
"Qw": 200
},
{
"cell": "O",
"U": 21,
"I": 52,
"R": 100,
"Q": 1000,
"Qw": 200
},
{
"cell": "P",
"U": 21,
"I": 52,
"R": 100,
"Q": 1000,
"Qw": 200
},
{
"cell": "Q",
"U": 21,
"I": 52,
"R": 100,
"Q": 1000,
"Qw": 200
},
{
"cell": "R",
"U": 21,
"I": 52,
"R": 100,
"Q": 1000,
"Qw": 200
},
{
"cell": "S",
"U": 21,
"I": 52,
"R": 100,
"Q": 1000,
"Qw": 200
},
{
"cell": "T",
"U": 21,
"I": 52,
"R": 100,
"Q": 1000,
"Qw": 200
},
{
"cell": "U",
"U": 21,
"I": 52,
"R": 100,
"Q": 1000,
"Qw": 200
},
{
"cell": "V",
"U": 21,
"I": 52,
"R": 100,
"Q": 1000,
"Qw": 200
}
]
},
"isSuccess": true
}</code></pre>
<h5>返回data参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">Long</td>
<td>石磨棒ID</td>
</tr>
<tr>
<td style="text-align: left;">smbCode</td>
<td style="text-align: left;">String</td>
<td>棒料编号</td>
</tr>
<tr>
<td style="text-align: left;">batchCode</td>
<td style="text-align: left;">String</td>
<td>所属批次</td>
</tr>
<tr>
<td style="text-align: left;">checkStatus</td>
<td style="text-align: left;">String</td>
<td>检测状态</td>
</tr>
<tr>
<td style="text-align: left;">deviceName</td>
<td style="text-align: left;">String</td>
<td>检测设备</td>
</tr>
<tr>
<td style="text-align: left;">deviceId</td>
<td style="text-align: left;">Long</td>
<td>检测设备id</td>
</tr>
<tr>
<td style="text-align: left;">name</td>
<td style="text-align: left;">String</td>
<td>检测策略</td>
</tr>
<tr>
<td style="text-align: left;">checkTime</td>
<td style="text-align: left;">String</td>
<td>检测时间</td>
</tr>
<tr>
<td style="text-align: left;">voltage</td>
<td style="text-align: left;">Double</td>
<td>输入电压</td>
</tr>
<tr>
<td style="text-align: left;">current</td>
<td style="text-align: left;">Double</td>
<td>输入电流</td>
</tr>
</tbody>
</table>
<h5>返回record参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">timing</td>
<td style="text-align: left;">String</td>
<td>时间段</td>
</tr>
<tr>
<td style="text-align: left;">value</td>
<td style="text-align: left;">int</td>
<td>值</td>
</tr>
</tbody>
</table>
<h5>返回cellList参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">cell</td>
<td style="text-align: left;">String</td>
<td>单元格名称</td>
</tr>
<tr>
<td style="text-align: left;">U</td>
<td style="text-align: left;">BigDecimal</td>
<td>电压</td>
</tr>
<tr>
<td style="text-align: left;">I</td>
<td style="text-align: left;">BigDecimal</td>
<td>电流</td>
</tr>
<tr>
<td style="text-align: left;">R</td>
<td style="text-align: left;">BigDecimal</td>
<td>电阻</td>
</tr>
<tr>
<td style="text-align: left;">Q</td>
<td style="text-align: left;">BigDecimal</td>
<td>热值</td>
</tr>
<tr>
<td style="text-align: left;">Qw</td>
<td style="text-align: left;">BigDecimal</td>
<td>热值/功率(Q/W)</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>