设备列表分页条件查询
<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/device/pageList</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;">deviceName</td>
<td style="text-align: left;">否</td>
<td>String</td>
<td>设备名称</td>
</tr>
<tr>
<td style="text-align: left;">deviceImei</td>
<td style="text-align: left;">否</td>
<td>String</td>
<td>设备编码</td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">否</td>
<td>int</td>
<td>设备状态(1在线 2离线)</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"isSuccess": true,
"data": {
"pageNum": 1,
"pageSize": 11111,
"size": 3,
"orderBy": null,
"startRow": 1,
"endRow": 3,
"total": 3,
"pages": 1,
"list": [
{
"id": 24171,
"deviceImei": "44",
"deviceType": null,
"deviceName": "检测设备1",
"parentId": null,
"asCom": null,
"createTime": null,
"lng": null,
"lat": null,
"measPointSeq": null,
"seat": null,
"projectId": null,
"deviceTypeCode": null,
"updateUserId": null,
"pageIndex": 0,
"pageSize": 0,
"parentName": null,
"deviceId": null,
"status": "在线",
"name": "检测策略007",
"runningStatus": "待测试",
"alterLevel": null,
"updateTime": null,
"channelId": null,
"txjName": null,
"cjName": null,
"jcdAmount": null,
"cjAmount": null,
"alarmStatus": null,
"deviceTypeName": null,
"tag": null,
"projectName": null,
"alterLevelName": null,
"deviceIdOrName": null,
"statusName": null,
"amount": 0,
"createSeatNum": null,
"version": null,
"eventnum": null,
"projectIds": null,
"startTime": null,
"endTime": null,
"deviceIds": null,
"isEnabled": null,
"num": null,
"switchTag": null,
"deviceList": null,
"jobAmount": null,
"alterCount": null,
"timePartition": null,
"statusTag": null,
"eventCount": null,
"domain": null,
"building": null,
"storey": null,
"unit": null,
"contacts": null,
"userName": null,
"defendersName": null,
"defendersDate": null,
"webTag": null,
"alarmCount": 0,
"alarmYclCount": 0,
"alarmWclCount": 0,
"eventTime": null,
"orderBy": null,
"sign": null,
"simIds": null,
"simStatus": null,
"simRemark": null,
"groupId": null,
"sim": null
},
{
"id": 24171,
"deviceImei": "44",
"deviceType": null,
"deviceName": "检测设备1",
"parentId": null,
"asCom": null,
"createTime": null,
"lng": null,
"lat": null,
"measPointSeq": null,
"seat": null,
"projectId": null,
"deviceTypeCode": null,
"updateUserId": null,
"pageIndex": 0,
"pageSize": 0,
"parentName": null,
"deviceId": null,
"status": "在线",
"name": "检测策略1",
"runningStatus": "待测试",
"alterLevel": null,
"updateTime": null,
"channelId": null,
"txjName": null,
"cjName": null,
"jcdAmount": null,
"cjAmount": null,
"alarmStatus": null,
"deviceTypeName": null,
"tag": null,
"projectName": null,
"alterLevelName": null,
"deviceIdOrName": null,
"statusName": null,
"amount": 0,
"createSeatNum": null,
"version": null,
"eventnum": null,
"projectIds": null,
"startTime": null,
"endTime": null,
"deviceIds": null,
"isEnabled": null,
"num": null,
"switchTag": null,
"deviceList": null,
"jobAmount": null,
"alterCount": null,
"timePartition": null,
"statusTag": null,
"eventCount": null,
"domain": null,
"building": null,
"storey": null,
"unit": null,
"contacts": null,
"userName": null,
"defendersName": null,
"defendersDate": null,
"webTag": null,
"alarmCount": 0,
"alarmYclCount": 0,
"alarmWclCount": 0,
"eventTime": null,
"orderBy": null,
"sign": null,
"simIds": null,
"simStatus": null,
"simRemark": null,
"groupId": null,
"sim": null
},
{
"id": 24171,
"deviceImei": "44",
"deviceType": null,
"deviceName": "检测设备1",
"parentId": null,
"asCom": null,
"createTime": null,
"lng": null,
"lat": null,
"measPointSeq": null,
"seat": null,
"projectId": null,
"deviceTypeCode": null,
"updateUserId": null,
"pageIndex": 0,
"pageSize": 0,
"parentName": null,
"deviceId": null,
"status": "在线",
"name": "检测策略3",
"runningStatus": "待测试",
"alterLevel": null,
"updateTime": null,
"channelId": null,
"txjName": null,
"cjName": null,
"jcdAmount": null,
"cjAmount": null,
"alarmStatus": null,
"deviceTypeName": null,
"tag": null,
"projectName": null,
"alterLevelName": null,
"deviceIdOrName": null,
"statusName": null,
"amount": 0,
"createSeatNum": null,
"version": null,
"eventnum": null,
"projectIds": null,
"startTime": null,
"endTime": null,
"deviceIds": null,
"isEnabled": null,
"num": null,
"switchTag": null,
"deviceList": null,
"jobAmount": null,
"alterCount": null,
"timePartition": null,
"statusTag": null,
"eventCount": null,
"domain": null,
"building": null,
"storey": null,
"unit": null,
"contacts": null,
"userName": null,
"defendersName": null,
"defendersDate": null,
"webTag": null,
"alarmCount": 0,
"alarmYclCount": 0,
"alarmWclCount": 0,
"eventTime": null,
"orderBy": null,
"sign": null,
"simIds": null,
"simStatus": null,
"simRemark": null,
"groupId": null,
"sim": 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
},
"code": 200,
"msg": "操作成功"
}</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;">deviceName</td>
<td style="text-align: left;">String</td>
<td>设备名称</td>
</tr>
<tr>
<td style="text-align: left;">deviceImei</td>
<td style="text-align: left;">String</td>
<td>设备编码</td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">String</td>
<td>设备状态(1在线 2离线)</td>
</tr>
<tr>
<td style="text-align: left;">runningStatus</td>
<td style="text-align: left;">String</td>
<td>运行状态(1.待测试2.未装夹3.检测中4.不通过5.通过)</td>
</tr>
<tr>
<td style="text-align: left;">name</td>
<td style="text-align: left;">String</td>
<td>检测策略</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>