电池-列表
<h5>简要描述</h5>
<ul>
<li>电池列表接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/gateway/liyuan_device/battery/info/list</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 style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">pageNo</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>当前页</td>
</tr>
<tr>
<td style="text-align: left;">pageSize</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>每页个数</td>
</tr>
<tr>
<td style="text-align: left;">storeId</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">long</td>
<td>所属门店</td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>状态 1-在线 2-离线 3-故障</td>
</tr>
<tr>
<td style="text-align: left;">electrifyStatus</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>通电状态 1-通电中 2-断电中</td>
</tr>
<tr>
<td style="text-align: left;">gpsStatus</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>定位状态 1-已定位 2-未定位</td>
</tr>
<tr>
<td style="text-align: left;">rentStatus</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>出租状态 1-出租中 2-未出租</td>
</tr>
<tr>
<td style="text-align: left;">bt</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>电池编号</td>
</tr>
<tr>
<td style="text-align: left;">userName</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>租赁用户</td>
</tr>
<tr>
<td style="text-align: left;">remark</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>备注</td>
</tr>
<tr>
<td style="text-align: left;">merchantId</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">long</td>
<td>所属客户</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"code": 0,
"list": [
{
"bt": "4",
"btBrand": "犬夜叉",
"btType": "犬系",
"capacity": 1,
"cost": 5.00,
"createBy": 1,
"createTime": 1638500550299,
"dayMileage": "0",
"electrifyStatus": 2,
"gpsCode": "4",
"gpsStatus": 2,
"iccid": "4",
"iccidStatus": 2,
"id": 626582629696667648,
"merchantId": 1000001,
"remark": "冥道残月破",
"rentStatus": 2,
"status": 2,
"storeId": 626277266137022464,
"storeName": "门店炸鸡2",
"totalMileage": "0",
"userId": 0,
"voltage": 6
},
{
"bt": "2",
"btBrand": "犬夜叉",
"btType": "犬系",
"capacity": 1,
"cost": 5.00,
"createBy": 1,
"createTime": 1638500550299,
"dayMileage": "0",
"electrifyStatus": 2,
"gpsCode": "2",
"gpsStatus": 2,
"iccid": "2",
"iccidStatus": 2,
"id": 626582629415649280,
"merchantId": 1000001,
"remark": "冥道残月破",
"rentStatus": 2,
"status": 2,
"storeId": 626277266137022464,
"storeName": "门店炸鸡2",
"totalMileage": "0",
"userId": 0,
"voltage": 6
},
{
"bt": "1",
"btBrand": "犬夜叉",
"btType": "犬系",
"capacity": 1,
"cost": 5.00,
"createBy": 1,
"createTime": 1638500550299,
"dayMileage": "0",
"electrifyStatus": 2,
"gpsCode": "1",
"gpsStatus": 2,
"iccid": "1",
"iccidStatus": 2,
"id": 626582629138825216,
"merchantId": 1000001,
"remark": "冥道残月破",
"rentStatus": 2,
"status": 2,
"storeId": 626277266137022464,
"storeName": "门店炸鸡2",
"totalMileage": "0",
"userId": 0,
"voltage": 6
},
{
"bt": "5",
"btBrand": "犬夜叉",
"btType": "犬系",
"capacity": 1,
"cost": 5.00,
"createBy": 1,
"createTime": 1638500550299,
"dayMileage": "0",
"electrifyStatus": 2,
"gpsCode": "5",
"gpsStatus": 2,
"iccid": "5",
"iccidStatus": 2,
"id": 626582629826691072,
"merchantId": 1000001,
"remark": "冥道残月破",
"rentStatus": 2,
"status": 2,
"storeId": 626277266137022464,
"storeName": "门店炸鸡2",
"totalMileage": "0",
"userId": 0,
"voltage": 6
},
{
"bt": "6",
"btBrand": "犬夜叉",
"btType": "犬系",
"capacity": 1,
"cost": 5.00,
"createBy": 1,
"createTime": 1638500550299,
"dayMileage": "0",
"electrifyStatus": 2,
"gpsCode": "6",
"gpsStatus": 2,
"iccid": "6",
"iccidStatus": 2,
"id": 626582629973491712,
"merchantId": 1000001,
"remark": "冥道残月破",
"rentStatus": 2,
"status": 2,
"storeId": 626277266137022464,
"storeName": "门店炸鸡2",
"totalMileage": "0",
"userId": 0,
"voltage": 6
},
{
"bt": "7",
"btBrand": "犬夜叉",
"btType": "犬系",
"capacity": 1,
"cost": 5.00,
"createBy": 1,
"createTime": 1638512126905,
"dayMileage": "0",
"electrifyStatus": 2,
"gpsCode": "7",
"gpsStatus": 2,
"iccid": "7",
"iccidStatus": 2,
"id": 626631185480548352,
"merchantId": 1000001,
"remark": "冥道残月破",
"rentStatus": 2,
"status": 2,
"storeId": 626277266137022464,
"storeName": "门店炸鸡2",
"totalMileage": "0",
"userId": 0,
"voltage": 6
},
{
"bt": "8",
"btBrand": "犬夜叉",
"btType": "犬系",
"capacity": 1,
"cost": 5.00,
"createBy": 1,
"createTime": 1638512126905,
"dayMileage": "0",
"electrifyStatus": 2,
"gpsCode": "8",
"gpsStatus": 2,
"iccid": "8",
"iccidStatus": 2,
"id": 626631185988059136,
"merchantId": 1000001,
"remark": "冥道残月破",
"rentStatus": 2,
"status": 2,
"storeId": 626277266137022464,
"storeName": "门店炸鸡2",
"totalMileage": "0",
"userId": 0,
"voltage": 6
},
{
"bt": "9",
"btBrand": "犬夜叉",
"btType": "犬系",
"capacity": 1,
"cost": 5.00,
"createBy": 1,
"createTime": 1638512126905,
"dayMileage": "0",
"electrifyStatus": 2,
"gpsCode": "9",
"gpsStatus": 2,
"iccid": "9",
"iccidStatus": 2,
"id": 626631186340380672,
"merchantId": 1000001,
"remark": "冥道残月破",
"rentStatus": 2,
"status": 2,
"storeId": 626277266137022464,
"storeName": "门店炸鸡2",
"totalMileage": "0",
"userId": 0,
"voltage": 6
},
{
"bt": "666",
"dayMileage": "9",
"electrifyStatus": 1,
"iccid": "123",
"id": 123,
"merchantId": 1000000,
"phone": "12345678910",
"positionTime": 1638434045243,
"rentStatus": 2,
"status": 1,
"storeId": 1,
"storeName": "门店烧烤",
"totalMileage": "100",
"userId": 123,
"userName": "张三"
},
{
"bt": "1",
"btBrand": "犬夜叉",
"btType": "犬系",
"capacity": 1,
"cost": 5.00,
"createBy": 1,
"createTime": 1638500550299,
"dayMileage": "0",
"electrifyStatus": 2,
"gpsCode": "1",
"gpsStatus": 2,
"iccid": "1",
"iccidStatus": 2,
"id": 1,
"merchantId": 626320515929210880,
"merchantName": "333",
"positionTime": 1641450823000,
"remark": "冥道残月破",
"rentStatus": 1,
"residueCapacity": "53.6",
"status": 2,
"statusTime": 1641545611158,
"storeId": 626225398023192576,
"storeName": "小新炸鸡11测试",
"totalMileage": "0",
"userId": 222,
"voltage": 6
}
],
"pageTurn": {
"currentPage": 1,
"end": 10,
"firstPage": 1,
"nextPage": 1,
"page": 1,
"pageCount": 1,
"pageSize": 20,
"prevPage": 1,
"rowCount": 10,
"start": 0,
"startIndex": 0
},
"tip": "请求成功"
}</code></pre>
<h5>返回参数说明</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>主键</td>
</tr>
<tr>
<td style="text-align: left;">merchantId</td>
<td style="text-align: left;">long</td>
<td>所属客户</td>
</tr>
<tr>
<td style="text-align: left;">storeId</td>
<td style="text-align: left;">long</td>
<td>门店编号</td>
</tr>
<tr>
<td style="text-align: left;">bt</td>
<td style="text-align: left;">string</td>
<td>电池BT编号</td>
</tr>
<tr>
<td style="text-align: left;">gpsCode</td>
<td style="text-align: left;">string</td>
<td>GPS编码</td>
</tr>
<tr>
<td style="text-align: left;">iccid</td>
<td style="text-align: left;">string</td>
<td>物联网卡号</td>
</tr>
<tr>
<td style="text-align: left;">voltage</td>
<td style="text-align: left;">int</td>
<td>额定电压 单位V</td>
</tr>
<tr>
<td style="text-align: left;">capacity</td>
<td style="text-align: left;">int</td>
<td>额定容量 单位 Ah</td>
</tr>
<tr>
<td style="text-align: left;">cost</td>
<td style="text-align: left;">BigInteger</td>
<td>电池成本</td>
</tr>
<tr>
<td style="text-align: left;">btType</td>
<td style="text-align: left;">string</td>
<td>电池类型</td>
</tr>
<tr>
<td style="text-align: left;">btBrand</td>
<td style="text-align: left;">string</td>
<td>电池品牌</td>
</tr>
<tr>
<td style="text-align: left;">totalMileage</td>
<td style="text-align: left;">string</td>
<td>总里程</td>
</tr>
<tr>
<td style="text-align: left;">dayMileage</td>
<td style="text-align: left;">string</td>
<td>当日里程</td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">int</td>
<td>状态 1-在线 2-离线 3-故障</td>
</tr>
<tr>
<td style="text-align: left;">lastOnlineTime</td>
<td style="text-align: left;">date</td>
<td>最后上线时间</td>
</tr>
<tr>
<td style="text-align: left;">rentStatus</td>
<td style="text-align: left;">int</td>
<td>出租状态 1-出租中 2-未出租</td>
</tr>
<tr>
<td style="text-align: left;">electrifyStatus</td>
<td style="text-align: left;">int</td>
<td>通电状态 1-通电中 2-断电中</td>
</tr>
<tr>
<td style="text-align: left;">iccidStatus</td>
<td style="text-align: left;">int</td>
<td>物联网卡激活状态 1-已激活 2-未激活</td>
</tr>
<tr>
<td style="text-align: left;">gpsStatus</td>
<td style="text-align: left;">int</td>
<td>定位状态 1-已定位 2-未定位</td>
</tr>
<tr>
<td style="text-align: left;">positionTime</td>
<td style="text-align: left;">date</td>
<td>最后定位时间</td>
</tr>
<tr>
<td style="text-align: left;">remark</td>
<td style="text-align: left;">string</td>
<td>备注</td>
</tr>
<tr>
<td style="text-align: left;">createTime</td>
<td style="text-align: left;">date</td>
<td>创建时间</td>
</tr>
<tr>
<td style="text-align: left;">createBy</td>
<td style="text-align: left;">long</td>
<td>创建人ID</td>
</tr>
<tr>
<td style="text-align: left;">updateTime</td>
<td style="text-align: left;">date</td>
<td>修改时间</td>
</tr>
<tr>
<td style="text-align: left;">updateBy</td>
<td style="text-align: left;">long</td>
<td>修改人ID</td>
</tr>
<tr>
<td style="text-align: left;">residueCapacity</td>
<td style="text-align: left;">string</td>
<td>剩余容量</td>
</tr>
<tr>
<td style="text-align: left;">statusTime</td>
<td style="text-align: left;">date</td>
<td>状态更新时间</td>
</tr>
<tr>
<td style="text-align: left;">electrifyTime</td>
<td style="text-align: left;">date</td>
<td>通/断电时间</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>