统计小班数量
<h5>请求URL</h5>
<ul>
<li><code>/api/onMap/dataOverview/countSubCompartments</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;lowYieldRebuildNum&quot;: 12, //低产林改造数量
&quot;oilTeaNewBuildNum&quot;: 0, //油茶新造数量
&quot;totalNum&quot;: 12 //小班总数
},
&quot;decryptFlag&quot;: false,
&quot;message&quot;: &quot;success&quot;,
&quot;status&quot;: 200
}
</code></pre>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>