原料汇总
<h5>简要描述</h5>
<ul>
<li>获取原料汇总</li>
<li>
<p>开发人员:陈杰</p>
<h5>请求URL</h5>
</li>
<li><code>http://localhost:port/Retailing/GetMaterialSum</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>Post</li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>nodeCode</td>
<td>是</td>
<td>string</td>
<td>节点编码</td>
</tr>
</tbody>
</table>
<h5>请求示例</h5>
<pre><code> {
&quot;nodeCode&quot;: &quot;1018&quot;
}</code></pre>
<h5>返回示例</h5>
<pre><code>{
&quot;OperateCode&quot;:9998,
&quot;ErrorMessage&quot;: &quot;&quot;,
&quot;obj&quot;: [
{
&quot;DeptCode&quot;: &quot;DEPT001&quot;,
&quot;BillNumber&quot;: &quot;BN20240001&quot;,
&quot;MasterInsideId&quot;: 1001,
&quot;InsideId&quot;: 1,
&quot;MaterialCode&quot;: &quot;MAT001&quot;,
&quot;MaterialAmount&quot;: 50.0,
&quot;TaxRate&quot;: 0.13,
&quot;MaterialPrice&quot;: 25.5,
&quot;MaterialMoney&quot;: 1275.0,
&quot;MaterialTax&quot;: 165.75,
&quot;ProductionDate&quot;: &quot;2024-01-15&quot;,
&quot;Remark&quot;: &quot;材料采购明细&quot;,
&quot;MaterialName&quot;: &quot;原材料A&quot;,
&quot;MaterialSpec&quot;: &quot;标准规格&quot;,
&quot;MaterialUnit&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;">OperateCode</td>
<td style="text-align: left;">int</td>
<td>状态码,9998:成功,其他:失败</td>
</tr>
<tr>
<td style="text-align: left;">ErrorMessage</td>
<td style="text-align: left;">string</td>
<td>异常消息</td>
</tr>
<tr>
<td style="text-align: left;">obj</td>
<td style="text-align: left;">object</td>
<td>返回的数据</td>
</tr>
</tbody>
</table>
<h1>备注</h1>
<ul>
<li>更多返回状态码请看首页的状态码描述</li>
</ul>