roomck


蓄电池机历管理-导入

<h3>请求URL</h3> <pre><code>POST http://localhost:8095/zhejiang-cm/batteryLifecycle/importExcel</code></pre> <h3>请求方式</h3> <p>POST(<code>multipart/form-data</code>)</p> <h3>入参示例(表单)</h3> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th style="text-align: left;">说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">file</td> <td style="text-align: left;">是</td> <td style="text-align: left;">file</td> <td style="text-align: left;">Excel 文件(首行表头)</td> </tr> </tbody> </table> <h3>模板列(首行表头)</h3> <ul> <li>账期、地市、园区、机楼名称、机房名称、资源大类、资源小类、设备名称、设备编码、设备品牌、单体电压(V)、电池组数、额定容量、设备入网时间、预计报废时间、故障隐患次数、容量预测及测试</li> </ul> <h3>返回示例</h3> <pre><code class="language-json">{ &amp;quot;topCont&amp;quot;: { &amp;quot;resultCode&amp;quot;: &amp;quot;0&amp;quot;, &amp;quot;respTime&amp;quot;: &amp;quot;2025-11-04 14:50:00&amp;quot;, &amp;quot;remark&amp;quot;: &amp;quot;success&amp;quot; }, &amp;quot;svcCont&amp;quot;: { &amp;quot;data&amp;quot;: { &amp;quot;successNum&amp;quot;: 98, &amp;quot;errorNum&amp;quot;: 2, &amp;quot;errorMsgList&amp;quot;: [ &amp;quot;第5行,第3列数据解析异常&amp;quot; ] } } }</code></pre> <h3>返回参数说明</h3> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th style="text-align: left;">说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">successNum</td> <td style="text-align: left;">Integer</td> <td style="text-align: left;">成功导入的记录数</td> </tr> <tr> <td style="text-align: left;">errorNum</td> <td style="text-align: left;">Integer</td> <td style="text-align: left;">失败记录数</td> </tr> <tr> <td style="text-align: left;">errorMsgList</td> <td style="text-align: left;">Array[String]</td> <td style="text-align: left;">错误信息列表(行列定位/解析失败原因)</td> </tr> </tbody> </table>

页面列表

ITEM_HTML