监督形式-流程图(带年份条件)
<p>GET /subassembly/su/w/v1/superviseoperation/getSuperviseStatistics/{id}/yearId/{yearId}</p>
<h3>请求参数</h3>
<table>
<thead>
<tr>
<th>名称</th>
<th>位置</th>
<th>类型</th>
<th>必选</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>path</td>
<td>string</td>
<td>是</td>
<td>数据源id</td>
</tr>
<tr>
<td>yearId</td>
<td>path</td>
<td>string</td>
<td>是</td>
<td>年度id</td>
</tr>
<tr>
<td>x-auth</td>
<td>header</td>
<td>string</td>
<td>是</td>
<td>签名</td>
</tr>
<tr>
<td>x-request-id</td>
<td>header</td>
<td>string</td>
<td>是</td>
<td>请求唯一ID</td>
</tr>
<tr>
<td>x-tenant-code</td>
<td>header</td>
<td>string</td>
<td>是</td>
<td>租户code</td>
</tr>
<tr>
<td>x-timestamp</td>
<td>header</td>
<td>string</td>
<td>是</td>
<td>时间戳</td>
</tr>
<tr>
<td>areaId</td>
<td>header</td>
<td>string</td>
<td>是</td>
<td>区域id</td>
</tr>
</tbody>
</table>
<p>> 返回示例</p>
<p>> 成功</p>
<pre><code class="language-json">{
&quot;code&quot;: 1200,
&quot;data&quot;: [
{
&quot;id&quot;: 590115410805765,
&quot;workflowId&quot;: 584396077102085,
&quot;workflowSettingId&quot;: null,
&quot;name&quot;: &quot;全部&quot;,
&quot;condition&quot;: null,
&quot;total&quot;: 2,
&quot;state&quot;: null,
&quot;sort&quot;: 1,
&quot;yearId&quot;: 572735075050501
},
{
&quot;id&quot;: 590115410809861,
&quot;workflowId&quot;: 584396077102085,
&quot;workflowSettingId&quot;: null,
&quot;name&quot;: &quot;未开始&quot;,
&quot;condition&quot;: null,
&quot;total&quot;: 1,
&quot;state&quot;: 1,
&quot;sort&quot;: 2,
&quot;yearId&quot;: 572735075050501
}
],
&quot;desc&quot;: &quot;操作成功&quot;,
&quot;ex&quot;: null,
&quot;refreshPermission&quot;: false
}</code></pre>
<h3>返回结果</h3>
<table>
<thead>
<tr>
<th>状态码</th>
<th>状态码含义</th>
<th>说明</th>
<th>数据模型</th>
</tr>
</thead>
<tbody>
<tr>
<td>200</td>
<td><a href="https://tools.ietf.org/html/rfc7231#section-6.3.1">OK</a></td>
<td>成功</td>
<td>Inline</td>
</tr>
</tbody>
</table>
<h3>返回数据结构</h3>
<p>状态码 <strong>200</strong></p>
<table>
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>约束</th>
<th>中文名</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>» code</td>
<td>integer</td>
<td>true</td>
<td>none</td>
<td>none</td>
</tr>
<tr>
<td>» data</td>
<td>[object]</td>
<td>true</td>
<td>none</td>
<td>none</td>
</tr>
<tr>
<td>»» id</td>
<td>integer</td>
<td>true</td>
<td>none</td>
<td>主键</td>
<td>none</td>
</tr>
<tr>
<td>»» name</td>
<td>string</td>
<td>true</td>
<td>none</td>
<td>流程节点名称</td>
<td>none</td>
</tr>
<tr>
<td>»» workflowId</td>
<td>integer</td>
<td>true</td>
<td>none</td>
<td>流程id</td>
<td>none</td>
</tr>
<tr>
<td>»» workflowSettingId</td>
<td>integer¦null</td>
<td>true</td>
<td>none</td>
<td>流程节点id</td>
<td>none</td>
</tr>
<tr>
<td>»» condition</td>
<td>null</td>
<td>true</td>
<td>none</td>
<td>条件</td>
<td>none</td>
</tr>
<tr>
<td>»» total</td>
<td>integer</td>
<td>true</td>
<td>none</td>
<td>数量</td>
<td>none</td>
</tr>
<tr>
<td>»» state</td>
<td>integer¦null</td>
<td>true</td>
<td>none</td>
<td>状态</td>
<td>none</td>
</tr>
<tr>
<td>»» sort</td>
<td>integer</td>
<td>true</td>
<td>none</td>
<td>排序</td>
<td>none</td>
</tr>
<tr>
<td>»» yearId</td>
<td>integer</td>
<td>true</td>
<td>none</td>
<td>年度id</td>
<td>none</td>
</tr>
<tr>
<td>» desc</td>
<td>string</td>
<td>true</td>
<td>none</td>
<td>none</td>
</tr>
<tr>
<td>» ex</td>
<td>null</td>
<td>true</td>
<td>none</td>
<td>none</td>
</tr>
<tr>
<td>» refreshPermission</td>
<td>boolean</td>
<td>true</td>
<td>none</td>
<td>none</td>
</tr>
</tbody>
</table>