快消下单查询用户下单历史记录--根据用户选择的供应商查询
<p><strong>接口描述:</strong></p>
<ul>
<li><a href="http://localhost:8060/apiweb/jt/jtPurchaseHistory/queryMaterialBuyRecord">http://localhost:8060/apiweb/jt/jtPurchaseHistory/queryMaterialBuyRecord</a></li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>/jt/jtPurchaseHistory/queryMaterialBuyRecord</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>请求参数:</strong></p>
<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;">id</td>
<td style="text-align: left;">long</td>
<td style="text-align: left;">供应商ID</td>
<td style="text-align: left;">是</td>
</tr>
<tr>
<td style="text-align: left;">pageNum</td>
<td style="text-align: left;">int</td>
<td style="text-align: left;">第几页</td>
<td style="text-align: left;">是</td>
</tr>
<tr>
<td style="text-align: left;">pageSize</td>
<td style="text-align: left;">int</td>
<td style="text-align: left;">分页大小</td>
<td style="text-align: left;">是</td>
</tr>
<tr>
<td style="text-align: left;">materialName</td>
<td style="text-align: left;">string</td>
<td style="text-align: left;">物料名称</td>
<td style="text-align: left;">否</td>
</tr>
<tr>
<td style="text-align: left;">materialNo</td>
<td style="text-align: left;">string</td>
<td style="text-align: left;">物料编号</td>
<td style="text-align: left;">否</td>
</tr>
<tr>
<td style="text-align: left;">materialBrand</td>
<td style="text-align: left;">string</td>
<td style="text-align: left;">品牌</td>
<td style="text-align: left;">否</td>
</tr>
</tbody>
</table>
<p><strong>响应头参数:</strong></p>
<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;">code</td>
<td style="text-align: left;">int</td>
<td style="text-align: left;">响应代码</td>
</tr>
<tr>
<td style="text-align: left;">message</td>
<td style="text-align: left;">string</td>
<td style="text-align: left;">响应描述</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">json</td>
<td style="text-align: left;">业务数据</td>
</tr>
</tbody>
</table>
<p><strong>响应data参数:</strong></p>
<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;">materialName</td>
<td style="text-align: left;">商品名称</td>
</tr>
<tr>
<td style="text-align: left;">materialSpec</td>
<td style="text-align: left;">规格</td>
</tr>
<tr>
<td style="text-align: left;">materialNo</td>
<td style="text-align: left;">物料编号</td>
</tr>
<tr>
<td style="text-align: left;">materialBrand</td>
<td style="text-align: left;">品牌</td>
</tr>
<tr>
<td style="text-align: left;">materialUnit</td>
<td style="text-align: left;">单位</td>
</tr>
<tr>
<td style="text-align: left;">categoryName</td>
<td style="text-align: left;">商品分类</td>
</tr>
<tr>
<td style="text-align: left;">seriesNumber</td>
<td style="text-align: left;">物料序列号</td>
</tr>
<tr>
<td style="text-align: left;">attributes</td>
<td style="text-align: left;">attrName:属性名,attrivalue:属性值</td>
</tr>
<tr>
<td style="text-align: left;">buyPrice</td>
<td style="text-align: left;">单价</td>
</tr>
</tbody>
</table>
<p><strong>请求示例</strong></p>
<pre><code>{
&quot;pageNum&quot;: 1,
&quot;pageSize&quot;: 10,
&quot;id&quot;: 331
}</code></pre>
<p><strong>响应示例</strong></p>
<pre><code>{
&quot;code&quot;: 200,
&quot;message&quot;: &quot;操作成功&quot;,
&quot;data&quot;: {
&quot;pageNum&quot;: 1,
&quot;pageSize&quot;: 5,
&quot;totalPage&quot;: 1,
&quot;total&quot;: 5,
&quot;list&quot;: [
{
&quot;buyPrice&quot;: 87,
&quot;materialName&quot;: &quot;酐铁&quot;,
&quot;materialNo&quot;: &quot;QQQ8999&quot;,
&quot;materialSpec&quot;: &quot;16L&quot;,
&quot;materialBrand&quot;: &quot;虹达精密&quot;,
&quot;attributes&quot;: [
{
&quot;attrivalue&quot;: &quot;22%&quot;,
&quot;attrName&quot;: &quot;结晶水&quot;
},
{
&quot;attrivalue&quot;: &quot;12%&quot;,
&quot;attrName&quot;: &quot;硼含量&quot;
},
{
&quot;attrivalue&quot;: &quot;20%&quot;,
&quot;attrName&quot;: &quot;ZnO(氧化锌)&quot;
}
],
&quot;id&quot;: 1036,
&quot;categoryName&quot;: &quot;压缩机械&quot;,
&quot;materialUnit&quot;: &quot;头&quot;
},
{
&quot;buyPrice&quot;: null,
&quot;materialName&quot;: &quot;大纲&quot;,
&quot;materialNo&quot;: &quot;7890000NBD&quot;,
&quot;materialSpec&quot;: &quot;800x800mm&quot;,
&quot;materialBrand&quot;: &quot;科达&quot;,
&quot;attributes&quot;: [
{
&quot;attrivalue&quot;: &quot;润滑油,切削,清洗剂&quot;,
&quot;attrName&quot;: &quot;润滑清洗&quot;
}
],
&quot;id&quot;: 1035,
&quot;categoryName&quot;: &quot;塑料磨具&quot;,
&quot;materialUnit&quot;: &quot;双&quot;
},
{
&quot;buyPrice&quot;: null,
&quot;materialName&quot;: &quot;刚卡&quot;,
&quot;materialNo&quot;: &quot;KI99OOOOO&quot;,
&quot;materialSpec&quot;: &quot;20L&quot;,
&quot;materialBrand&quot;: &quot;享钰科技&quot;,
&quot;attributes&quot;: [
{
&quot;attrivalue&quot;: &quot;塑料模具&quot;,
&quot;attrName&quot;: &quot;模具类&quot;
}
],
&quot;id&quot;: 1030,
&quot;categoryName&quot;: &quot;塑料磨具&quot;,
&quot;materialUnit&quot;: &quot;双&quot;
},
{
&quot;buyPrice&quot;: 12,
&quot;materialName&quot;: &quot;六号钢&quot;,
&quot;materialNo&quot;: &quot;KQW1234567&quot;,
&quot;materialSpec&quot;: &quot;18&quot;,
&quot;materialBrand&quot;: &quot;66&quot;,
&quot;attributes&quot;: [],
&quot;id&quot;: 1018,
&quot;categoryName&quot;: null,
&quot;materialUnit&quot;: &quot;条&quot;
},
{
&quot;buyPrice&quot;: null,
&quot;materialName&quot;: &quot;无人机平台系统&quot;,
&quot;materialNo&quot;: null,
&quot;materialSpec&quot;: &quot;200L&quot;,
&quot;materialBrand&quot;: &quot;&quot;,
&quot;attributes&quot;: [],
&quot;id&quot;: 889,
&quot;categoryName&quot;: null,
&quot;materialUnit&quot;: &quot;&quot;
}
]
}
}</code></pre>
<p><strong>备注</strong></p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>