根据原料ID查询原料信息
<p>根据原料ID查询原料信息</p>
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>根据原料ID查询原料信息</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>localhost:8080/pro/materials/{id}</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET</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;">id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>原料ID</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;msg&quot;: &quot;操作成功&quot;,
&quot;code&quot;: 200,
&quot;data&quot;: {
&quot;createBy&quot;: &quot;admin&quot;,
&quot;createTime&quot;: &quot;2024-11-15 13:25:24&quot;,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 557,
&quot;rmk&quot;: null,
&quot;mainCateId&quot;: null,
&quot;firstCateId&quot;: null,
&quot;secCateId&quot;: null,
&quot;firstSpec&quot;: &quot;10D尼龙面料&quot;,
&quot;secSpec&quot;: &quot;10D尼龙单线格尼龙涂硅格子布&quot;,
&quot;combineIds&quot;: null,
&quot;priceList&quot;: [
{
&quot;createBy&quot;: &quot;admin&quot;,
&quot;createTime&quot;: &quot;2024-11-15 13:25:24&quot;,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 117,
&quot;mId&quot;: 557,
&quot;supplierCode&quot;: null,
&quot;supplierName&quot;: &quot;&quot;,
&quot;price&quot;: 22.2000,
&quot;rmk&quot;: null
},
{
&quot;createBy&quot;: &quot;admin&quot;,
&quot;createTime&quot;: &quot;2024-11-15 13:25:24&quot;,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 118,
&quot;mId&quot;: 557,
&quot;supplierCode&quot;: null,
&quot;supplierName&quot;: &quot;布瑞克&quot;,
&quot;price&quot;: 13.0000,
&quot;rmk&quot;: null
},
{
&quot;createBy&quot;: &quot;admin&quot;,
&quot;createTime&quot;: &quot;2024-11-15 13:25:24&quot;,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 119,
&quot;mId&quot;: 557,
&quot;supplierCode&quot;: null,
&quot;supplierName&quot;: &quot;&quot;,
&quot;price&quot;: 10.2000,
&quot;rmk&quot;: null
},
{
&quot;createBy&quot;: &quot;admin&quot;,
&quot;createTime&quot;: &quot;2024-11-15 13:25:24&quot;,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 120,
&quot;mId&quot;: 557,
&quot;supplierCode&quot;: null,
&quot;supplierName&quot;: &quot;&quot;,
&quot;price&quot;: 7.6500,
&quot;rmk&quot;: null
},
{
&quot;createBy&quot;: &quot;admin&quot;,
&quot;createTime&quot;: &quot;2024-11-15 13:25:24&quot;,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 121,
&quot;mId&quot;: 557,
&quot;supplierCode&quot;: null,
&quot;supplierName&quot;: &quot;&quot;,
&quot;price&quot;: 18.8500,
&quot;rmk&quot;: null
},
{
&quot;createBy&quot;: &quot;admin&quot;,
&quot;createTime&quot;: &quot;2024-11-15 13:25:24&quot;,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 122,
&quot;mId&quot;: 557,
&quot;supplierCode&quot;: null,
&quot;supplierName&quot;: &quot;&quot;,
&quot;price&quot;: 8.8000,
&quot;rmk&quot;: null
},
{
&quot;createBy&quot;: &quot;admin&quot;,
&quot;createTime&quot;: &quot;2024-11-15 13:25:24&quot;,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 123,
&quot;mId&quot;: 557,
&quot;supplierCode&quot;: null,
&quot;supplierName&quot;: &quot;&quot;,
&quot;price&quot;: 7.2500,
&quot;rmk&quot;: null
},
{
&quot;createBy&quot;: &quot;admin&quot;,
&quot;createTime&quot;: &quot;2024-11-15 13:25:24&quot;,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 124,
&quot;mId&quot;: 557,
&quot;supplierCode&quot;: null,
&quot;supplierName&quot;: &quot;&quot;,
&quot;price&quot;: 10.2000,
&quot;rmk&quot;: null
},
{
&quot;createBy&quot;: &quot;admin&quot;,
&quot;createTime&quot;: &quot;2024-11-15 13:25:24&quot;,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 125,
&quot;mId&quot;: 557,
&quot;supplierCode&quot;: null,
&quot;supplierName&quot;: &quot;&quot;,
&quot;price&quot;: 10.6000,
&quot;rmk&quot;: null
},
{
&quot;createBy&quot;: &quot;admin&quot;,
&quot;createTime&quot;: &quot;2024-11-15 13:25:24&quot;,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 126,
&quot;mId&quot;: 557,
&quot;supplierCode&quot;: null,
&quot;supplierName&quot;: &quot;&quot;,
&quot;price&quot;: 7.6500,
&quot;rmk&quot;: null
},
{
&quot;createBy&quot;: &quot;admin&quot;,
&quot;createTime&quot;: &quot;2024-11-15 13:25:24&quot;,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 127,
&quot;mId&quot;: 557,
&quot;supplierCode&quot;: null,
&quot;supplierName&quot;: &quot;&quot;,
&quot;price&quot;: 7.6500,
&quot;rmk&quot;: null
}
],
&quot;combineList&quot;: null,
&quot;mtypeStr&quot;: &quot;原材料&quot;,
&quot;mclass&quot;: null,
&quot;mtexture&quot;: null,
&quot;mcolor&quot;: &quot;&quot;,
&quot;mposition&quot;: &quot;外帐&quot;,
&quot;mproductions&quot;: &quot;&quot;,
&quot;mrequirements&quot;: &quot;门幅:150cm\n静水压:pu1500\n克重 34g/㎡\n断裂强度:经向 240 纬向 220\n撕破强力:经向 8 纬向 7&quot;,
&quot;mweight&quot;: 34.0000,
&quot;msupplierPrice&quot;: null,
&quot;combineIdsBySet&quot;: [],
&quot;mname&quot;: &quot;尼龙面料&quot;,
&quot;mcode&quot;: &quot;&quot;,
&quot;mtype&quot;: 0,
&quot;mspec&quot;: &quot;一面pu一面涂硅油&quot;,
&quot;munit&quot;: &quot;米&quot;
}
}</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;">mclass</td>
<td style="text-align: left;">string</td>
<td>原料大类</td>
</tr>
<tr>
<td style="text-align: left;">firstSpec</td>
<td style="text-align: left;">string</td>
<td>原料一级分类</td>
</tr>
<tr>
<td style="text-align: left;">secSpec</td>
<td style="text-align: left;">string</td>
<td>原料二级分类</td>
</tr>
<tr>
<td style="text-align: left;">mname</td>
<td style="text-align: left;">string</td>
<td>名称</td>
</tr>
<tr>
<td style="text-align: left;">munit</td>
<td style="text-align: left;">string</td>
<td>单位</td>
</tr>
<tr>
<td style="text-align: left;">mweight</td>
<td style="text-align: left;">string</td>
<td>重量</td>
</tr>
<tr>
<td style="text-align: left;">mposition</td>
<td style="text-align: left;">string</td>
<td>用料位置</td>
</tr>
<tr>
<td style="text-align: left;">priceList</td>
<td style="text-align: left;">array</td>
<td>供应商报价信息</td>
</tr>
<tr>
<td style="text-align: left;">supplierCode</td>
<td style="text-align: left;">string</td>
<td>供应商编码</td>
</tr>
<tr>
<td style="text-align: left;">supplierName</td>
<td style="text-align: left;">string</td>
<td>供应商名称</td>
</tr>
<tr>
<td style="text-align: left;">price</td>
<td style="text-align: left;">string</td>
<td>供应商报价</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>