2.产品型号列表信息接口
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>产品型号列表信息接口(输入Mi有值是筛选功能,Mi为空是列表初始化所有数据接口)</li>
</ul>
<h5>接口维护负责人:周智鸿</h5>
<h5>请求URL</h5>
<ul>
<li><code>http://172.17.10.52:8080/pyapi/product_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>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">Mi</td>
<td style="text-align: left;">nvarchar</td>
<td style="text-align: left;">产品型号</td>
</tr>
<tr>
<td style="text-align: left;">OutPut</td>
<td style="text-align: left;">bool</td>
<td style="text-align: left;">是否为导出接口(true导出,false查询)</td>
</tr>
</tbody>
</table>
<h5>请求示例</h5>
<pre><code>{
&quot;Mi&quot;:&quot;&quot;,
&quot;OutPut&quot;:false,
&quot;page&quot;:1,
&quot;limit&quot;:10
}</code></pre>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;: 200,
&quot;data&quot;: [
{
&quot;CreateTime&quot;: &quot;2022-09-25 12:00:36&quot;,
&quot;ID&quot;: &quot;1&quot;,
&quot;LastModifiedTime&quot;: &quot;2022-09-12 09:27:17&quot;,
&quot;LineNo&quot;: &quot;L36,L38,L42,L12&quot;,
&quot;Mi&quot;: &quot;brs&quot;,
&quot;ModelID&quot;: &quot;4649564108713099265&quot;,
&quot;ModelName&quot;: &quot;sx_brspy_Mx3&quot;,
&quot;ProductionStatus&quot;: 1,
&quot;alter_name&quot;: &quot;HYNN&quot;,
&quot;user_name&quot;: &quot;胡歌&quot;
},
{
&quot;CreateTime&quot;: &quot;2022-09-25 11:14:54&quot;,
&quot;ID&quot;: &quot;4641875218896257025&quot;,
&quot;LastModifiedTime&quot;: &quot;2022-08-26 09:56:33&quot;,
&quot;LineNo&quot;: &quot;L27,L31,L36&quot;,
&quot;Mi&quot;: &quot;lou&quot;,
&quot;ModelID&quot;: &quot;4649173103438462977&quot;,
&quot;ModelName&quot;: &quot;sx_lousy_Mx1&quot;,
&quot;ProductionStatus&quot;: 1,
&quot;alter_name&quot;: &quot;HYNN&quot;,
&quot;user_name&quot;: &quot;胡歌&quot;
},
{
&quot;CreateTime&quot;: &quot;2022-07-26 09:52:30&quot;,
&quot;ID&quot;: &quot;4649464629703999489&quot;,
&quot;LastModifiedTime&quot;: &quot;2022-09-19 16:33:10&quot;,
&quot;LineNo&quot;: null,
&quot;Mi&quot;: &quot;mest&quot;,
&quot;ModelID&quot;: null,
&quot;ModelName&quot;: null,
&quot;ProductionStatus&quot;: 0,
&quot;alter_name&quot;: &quot;HYNN&quot;,
&quot;user_name&quot;: &quot;HYNN&quot;
},
{
&quot;CreateTime&quot;: &quot;2022-08-01 10:29:31&quot;,
&quot;ID&quot;: &quot;4651648273495359489&quot;,
&quot;LastModifiedTime&quot;: &quot;2022-08-01 17:03:30&quot;,
&quot;LineNo&quot;: null,
&quot;Mi&quot;: &quot;AA&quot;,
&quot;ModelID&quot;: &quot;1&quot;,
&quot;ModelName&quot;: &quot;sx_brs4K_M1&quot;,
&quot;ProductionStatus&quot;: 0,
&quot;alter_name&quot;: &quot;HYNN&quot;,
&quot;user_name&quot;: &quot;HYNN&quot;
},
{
&quot;CreateTime&quot;: &quot;2022-08-01 15:54:33&quot;,
&quot;ID&quot;: &quot;4651730069247492097&quot;,
&quot;LastModifiedTime&quot;: &quot;2022-09-20 10:15:22&quot;,
&quot;LineNo&quot;: null,
&quot;Mi&quot;: &quot;XXX&quot;,
&quot;ModelID&quot;: &quot;4649173103438462977&quot;,
&quot;ModelName&quot;: &quot;sx_lousy_Mx1&quot;,
&quot;ProductionStatus&quot;: 0,
&quot;alter_name&quot;: &quot;HYNN&quot;,
&quot;user_name&quot;: &quot;HYNN&quot;
},
{
&quot;CreateTime&quot;: &quot;2022-08-01 15:56:07&quot;,
&quot;ID&quot;: &quot;4651730463742754817&quot;,
&quot;LastModifiedTime&quot;: &quot;2022-09-19 15:34:04&quot;,
&quot;LineNo&quot;: null,
&quot;Mi&quot;: &quot;反反复复福&quot;,
&quot;ModelID&quot;: &quot;4649171495409418241&quot;,
&quot;ModelName&quot;: &quot;sx_lousy_Mx0&quot;,
&quot;ProductionStatus&quot;: 1,
&quot;alter_name&quot;: &quot;HYNN&quot;,
&quot;user_name&quot;: &quot;HYNN&quot;
},
{
&quot;AcceptedMaxError&quot;:NaN,
&quot;CreateTime&quot;: &quot;2022-08-01 16:01:01&quot;,
&quot;ID&quot;: &quot;4651731697937678337&quot;,
&quot;LastModifiedTime&quot;: &quot;2022-08-01 16:01:01&quot;,
&quot;LineNo&quot;: null,
&quot;Mi&quot;: &quot;有&quot;,
&quot;ModelID&quot;: &quot;1&quot;,
&quot;ModelName&quot;: &quot;sx_brs4K_M1&quot;,
&quot;ProductionStatus&quot;: 0,
&quot;SpecSL&quot;:NaN,
&quot;SpecSU&quot;:NaN,
&quot;alter_name&quot;: &quot;HYNN&quot;,
&quot;user_name&quot;: &quot;HYNN&quot;
},
{
&quot;AcceptedMaxError&quot;:NaN,
&quot;CreateTime&quot;: &quot;2022-08-09 10:17:18&quot;,
&quot;ID&quot;: &quot;4654544299147395073&quot;,
&quot;LastModifiedTime&quot;: &quot;2022-09-14 10:01:16&quot;,
&quot;LineNo&quot;: null,
&quot;Mi&quot;: &quot;产&quot;,
&quot;ModelID&quot;: &quot;4649564108713099265&quot;,
&quot;ModelName&quot;: &quot;sx_brspy_Mx3&quot;,
&quot;ProductionStatus&quot;: 1,
&quot;SpecSL&quot;:NaN,
&quot;SpecSU&quot;:NaN,
&quot;alter_name&quot;: &quot;HYNN&quot;,
&quot;user_name&quot;: &quot;HYNN&quot;
}
],
&quot;msg&quot;: &quot;success&quot;,
&quot;pageData&quot;: {
&quot;page&quot;: 1,
&quot;total&quot;: 108
}
}</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;">nvarchar</td>
<td>产品型号id</td>
</tr>
<tr>
<td style="text-align: left;">Mi</td>
<td style="text-align: left;">nvarchar</td>
<td>产品型号</td>
</tr>
<tr>
<td style="text-align: left;">ModelName</td>
<td style="text-align: left;">nvarchar</td>
<td>模型名称</td>
</tr>
<tr>
<td style="text-align: left;">ProductionStatus</td>
<td style="text-align: left;">nvarchar</td>
<td>生产状态</td>
</tr>
<tr>
<td style="text-align: left;">LineNo</td>
<td style="text-align: left;">nvarchar</td>
<td>生产拉线</td>
</tr>
<tr>
<td style="text-align: left;">RuleID</td>
<td style="text-align: left;">nvarchar</td>
<td>条码规则ID</td>
</tr>
<tr>
<td style="text-align: left;">RuleName</td>
<td style="text-align: left;">nvarchar</td>
<td>条码规则名称</td>
</tr>
<tr>
<td style="text-align: left;">CreateTime</td>
<td style="text-align: left;">datetime</td>
<td>创建时间</td>
</tr>
<tr>
<td style="text-align: left;">user_name</td>
<td style="text-align: left;">nvarchar</td>
<td>创建人</td>
</tr>
<tr>
<td style="text-align: left;">LastModifiedTime</td>
<td style="text-align: left;">datetime</td>
<td>修改时间</td>
</tr>
<tr>
<td style="text-align: left;">alter_name</td>
<td style="text-align: left;">nvarchar</td>
<td>修改人</td>
</tr>
</tbody>
</table>
<h5>备注</h5>