油茶营造面积统计
<h5>请求URL</h5>
<ul>
<li><code>/api/onMap/dataOverview/areaStats</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST
<h5>入参</h5></li>
</ul>
<table>
<thead>
<tr>
<th>字段名</th>
<th>含义</th>
<th>类型</th>
<th>是否必填</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>distCode</td>
<td>行政区代码</td>
<td>String</td>
<td>否</td>
<td></td>
</tr>
<tr>
<td>year</td>
<td>年份</td>
<td>int</td>
<td>否</td>
<td></td>
</tr>
<tr>
<td>projectTypeCode</td>
<td>项目类型代码</td>
<td>String</td>
<td>否</td>
<td></td>
</tr>
<tr>
<td>stageType</td>
<td>项目阶段</td>
<td>String</td>
<td>是</td>
<td>项目阶段:1=计划上图,2=作业设计,3=成果上图</td>
</tr>
</tbody>
</table>
<h5>请求示例</h5>
<pre><code>{
&quot;distCode&quot;: &quot;43&quot;,
&quot;year&quot;: &quot;2022&quot;,
&quot;projectTypeCode&quot;: &quot;&quot;,
&quot;stageType&quot;: &quot;2&quot;
}</code></pre>
<h5>返回示例</h5>
<pre><code>{
&quot;data&quot;: {
&quot;areaStatsList&quot;: [ // 按营造类型统计的集合
{
&quot;name&quot;: &quot;新增油茶种植&quot;, // 营造类型
&quot;value&quot;: 0.0 // 面积
},
{
&quot;name&quot;: &quot;油茶低产林改造&quot;,
&quot;value&quot;: 3686.1396
}
],
&quot;totalArea&quot;: 3686.1396 //总面积
},
&quot;decryptFlag&quot;: false,
&quot;message&quot;: &quot;success&quot;,
&quot;status&quot;: 200
}
</code></pre>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>