获取棒料分页列表
<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/selectSmbPage</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;">pageIndex</td>
<td style="text-align: left;">是</td>
<td>int</td>
<td>页编号 : 第几页</td>
</tr>
<tr>
<td style="text-align: left;">pageSize</td>
<td style="text-align: left;">是</td>
<td>int</td>
<td>页大小 : 每页的数量</td>
</tr>
<tr>
<td style="text-align: left;">smbCode</td>
<td style="text-align: left;">否</td>
<td>String</td>
<td>棒料编号</td>
</tr>
<tr>
<td style="text-align: left;">batchCode</td>
<td style="text-align: left;">否</td>
<td>String</td>
<td>所属批次</td>
</tr>
<tr>
<td style="text-align: left;">checkStatus</td>
<td style="text-align: left;">否</td>
<td>String</td>
<td>检测状态(2:通过,3:不通过)</td>
</tr>
<tr>
<td style="text-align: left;">deviceId</td>
<td style="text-align: left;">否</td>
<td>Long</td>
<td>检测设备id</td>
</tr>
<tr>
<td style="text-align: left;">tacticsId</td>
<td style="text-align: left;">否</td>
<td>Long</td>
<td>检测策略id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"msg": "操作成功",
"code": 200,
"data": {
"pageNum": 1,
"pageSize": 22222,
"size": 18,
"orderBy": null,
"startRow": 1,
"endRow": 18,
"total": 18,
"pages": 1,
"list": [
{
"id": 17,
"smbCode": "3223",
"batchId": null,
"deviceId": null,
"checkStatus": "不通过",
"checkTime": "2022-06-21 04:50:58",
"createTime": null,
"createUserId": null,
"updateTime": null,
"updateUserId": null,
"isDeleted": null,
"pageIndex": 0,
"pageSize": 0,
"batchCode": null,
"deviceName": "检测设备1",
"name": "检测策略007",
"tacticsId": null
},
{
"id": 12,
"smbCode": "11232",
"batchId": null,
"deviceId": null,
"checkStatus": "通过",
"checkTime": "2022-06-21 04:50:58",
"createTime": null,
"createUserId": null,
"updateTime": null,
"updateUserId": null,
"isDeleted": null,
"pageIndex": 0,
"pageSize": 0,
"batchCode": "5678765ghjjhgfd",
"deviceName": "检测设备1",
"name": "检测策略3",
"tacticsId": null
},
{
"id": 14,
"smbCode": "112321",
"batchId": null,
"deviceId": null,
"checkStatus": "通过",
"checkTime": "2022-06-21 04:50:58",
"createTime": null,
"createUserId": null,
"updateTime": null,
"updateUserId": null,
"isDeleted": null,
"pageIndex": 0,
"pageSize": 0,
"batchCode": "sdg23332",
"deviceName": "检测设备1",
"name": "检测策略3",
"tacticsId": null
},
{
"id": 16,
"smbCode": "233w",
"batchId": null,
"deviceId": null,
"checkStatus": "不通过",
"checkTime": "2022-06-21 04:50:58",
"createTime": null,
"createUserId": null,
"updateTime": null,
"updateUserId": null,
"isDeleted": null,
"pageIndex": 0,
"pageSize": 0,
"batchCode": "5678765ghjjhgfd",
"deviceName": "检测设备1",
"name": "检测策略3",
"tacticsId": null
},
{
"id": 17,
"smbCode": "3223",
"batchId": null,
"deviceId": null,
"checkStatus": "不通过",
"checkTime": "2022-06-21 04:50:58",
"createTime": null,
"createUserId": null,
"updateTime": null,
"updateUserId": null,
"isDeleted": null,
"pageIndex": 0,
"pageSize": 0,
"batchCode": null,
"deviceName": "检测设备1",
"name": "检测策略3",
"tacticsId": null
},
{
"id": 18,
"smbCode": "8765432",
"batchId": null,
"deviceId": null,
"checkStatus": "不通过",
"checkTime": "2022-06-21 04:50:58",
"createTime": null,
"createUserId": null,
"updateTime": null,
"updateUserId": null,
"isDeleted": null,
"pageIndex": 0,
"pageSize": 0,
"batchCode": null,
"deviceName": "检测设备1",
"name": "检测策略3",
"tacticsId": null
},
{
"id": 12,
"smbCode": "11232",
"batchId": null,
"deviceId": null,
"checkStatus": "通过",
"checkTime": "2022-06-21 04:50:58",
"createTime": null,
"createUserId": null,
"updateTime": null,
"updateUserId": null,
"isDeleted": null,
"pageIndex": 0,
"pageSize": 0,
"batchCode": "5678765ghjjhgfd",
"deviceName": "检测设备1",
"name": "检测策略1",
"tacticsId": null
},
{
"id": 14,
"smbCode": "112321",
"batchId": null,
"deviceId": null,
"checkStatus": "通过",
"checkTime": "2022-06-21 04:50:58",
"createTime": null,
"createUserId": null,
"updateTime": null,
"updateUserId": null,
"isDeleted": null,
"pageIndex": 0,
"pageSize": 0,
"batchCode": "sdg23332",
"deviceName": "检测设备1",
"name": "检测策略1",
"tacticsId": null
},
{
"id": 16,
"smbCode": "233w",
"batchId": null,
"deviceId": null,
"checkStatus": "不通过",
"checkTime": "2022-06-21 04:50:58",
"createTime": null,
"createUserId": null,
"updateTime": null,
"updateUserId": null,
"isDeleted": null,
"pageIndex": 0,
"pageSize": 0,
"batchCode": "5678765ghjjhgfd",
"deviceName": "检测设备1",
"name": "检测策略1",
"tacticsId": null
},
{
"id": 17,
"smbCode": "3223",
"batchId": null,
"deviceId": null,
"checkStatus": "不通过",
"checkTime": "2022-06-21 04:50:58",
"createTime": null,
"createUserId": null,
"updateTime": null,
"updateUserId": null,
"isDeleted": null,
"pageIndex": 0,
"pageSize": 0,
"batchCode": null,
"deviceName": "检测设备1",
"name": "检测策略1",
"tacticsId": null
},
{
"id": 18,
"smbCode": "8765432",
"batchId": null,
"deviceId": null,
"checkStatus": "不通过",
"checkTime": "2022-06-21 04:50:58",
"createTime": null,
"createUserId": null,
"updateTime": null,
"updateUserId": null,
"isDeleted": null,
"pageIndex": 0,
"pageSize": 0,
"batchCode": null,
"deviceName": "检测设备1",
"name": "检测策略1",
"tacticsId": null
},
{
"id": 12,
"smbCode": "11232",
"batchId": null,
"deviceId": null,
"checkStatus": "通过",
"checkTime": "2022-06-21 04:50:58",
"createTime": null,
"createUserId": null,
"updateTime": null,
"updateUserId": null,
"isDeleted": null,
"pageIndex": 0,
"pageSize": 0,
"batchCode": "5678765ghjjhgfd",
"deviceName": "检测设备1",
"name": "检测策略007",
"tacticsId": null
},
{
"id": 14,
"smbCode": "112321",
"batchId": null,
"deviceId": null,
"checkStatus": "通过",
"checkTime": "2022-06-21 04:50:58",
"createTime": null,
"createUserId": null,
"updateTime": null,
"updateUserId": null,
"isDeleted": null,
"pageIndex": 0,
"pageSize": 0,
"batchCode": "sdg23332",
"deviceName": "检测设备1",
"name": "检测策略007",
"tacticsId": null
},
{
"id": 16,
"smbCode": "233w",
"batchId": null,
"deviceId": null,
"checkStatus": "不通过",
"checkTime": "2022-06-21 04:50:58",
"createTime": null,
"createUserId": null,
"updateTime": null,
"updateUserId": null,
"isDeleted": null,
"pageIndex": 0,
"pageSize": 0,
"batchCode": "5678765ghjjhgfd",
"deviceName": "检测设备1",
"name": "检测策略007",
"tacticsId": null
},
{
"id": 18,
"smbCode": "8765432",
"batchId": null,
"deviceId": null,
"checkStatus": "不通过",
"checkTime": "2022-06-21 04:50:58",
"createTime": null,
"createUserId": null,
"updateTime": null,
"updateUserId": null,
"isDeleted": null,
"pageIndex": 0,
"pageSize": 0,
"batchCode": null,
"deviceName": "检测设备1",
"name": "检测策略007",
"tacticsId": null
},
{
"id": 15,
"smbCode": "1ww",
"batchId": null,
"deviceId": null,
"checkStatus": "通过",
"checkTime": null,
"createTime": null,
"createUserId": null,
"updateTime": null,
"updateUserId": null,
"isDeleted": null,
"pageIndex": 0,
"pageSize": 0,
"batchCode": null,
"deviceName": "检测设备1",
"name": "检测策略1",
"tacticsId": null
},
{
"id": 15,
"smbCode": "1ww",
"batchId": null,
"deviceId": null,
"checkStatus": "通过",
"checkTime": null,
"createTime": null,
"createUserId": null,
"updateTime": null,
"updateUserId": null,
"isDeleted": null,
"pageIndex": 0,
"pageSize": 0,
"batchCode": null,
"deviceName": "检测设备1",
"name": "检测策略007",
"tacticsId": null
},
{
"id": 15,
"smbCode": "1ww",
"batchId": null,
"deviceId": null,
"checkStatus": "通过",
"checkTime": null,
"createTime": null,
"createUserId": null,
"updateTime": null,
"updateUserId": null,
"isDeleted": null,
"pageIndex": 0,
"pageSize": 0,
"batchCode": null,
"deviceName": "检测设备1",
"name": "检测策略3",
"tacticsId": null
}
],
"prePage": 0,
"nextPage": 0,
"isFirstPage": true,
"isLastPage": true,
"hasPreviousPage": false,
"hasNextPage": false,
"navigatePages": 8,
"navigatepageNums": [
1
],
"navigateFirstPage": 1,
"navigateLastPage": 1,
"firstPage": 1,
"lastPage": 1
},
"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;">pageNum</td>
<td style="text-align: left;">int</td>
<td>页编号 : 第几页</td>
</tr>
<tr>
<td style="text-align: left;">pageSize</td>
<td style="text-align: left;">int</td>
<td>页大小 : 每页的数量</td>
</tr>
<tr>
<td style="text-align: left;">size</td>
<td style="text-align: left;">int</td>
<td>当前页面多少条数据</td>
</tr>
<tr>
<td style="text-align: left;">total</td>
<td style="text-align: left;">int</td>
<td>总行数</td>
</tr>
<tr>
<td style="text-align: left;">pages</td>
<td style="text-align: left;">int</td>
<td>总页数</td>
</tr>
<tr>
<td style="text-align: left;">list</td>
<td style="text-align: left;">List</td>
<td>返回行数据</td>
</tr>
</tbody>
</table>
<h5>返回list参数说明</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;">name</td>
<td style="text-align: left;">String</td>
<td>检测策略</td>
</tr>
<tr>
<td style="text-align: left;">tacticsId</td>
<td style="text-align: left;">Long</td>
<td>检测策略id</td>
</tr>
<tr>
<td style="text-align: left;">checkTime</td>
<td style="text-align: left;">String</td>
<td>检测时间</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>