10. 数据版本更新
<h5><strong>请求URL</strong></h5>
<p>POST <code>http://192.168.1.161:8080/jeecg-boot/sys/workflow/flowBizData/update</code></p>
<h5><strong>请求参数</strong></h5>
<pre><code class="language-json">{
&quot;processId&quot;: &quot;flow_1234567890abcdef&quot;,
&quot;dataVersion&quot;: 2,
&quot;formData&quot;: {
&quot;amount&quot;: 5000.00,
&quot;items&quot;: [
{&quot;name&quot;: &quot;差旅费&quot;, &quot;value&quot;: 3000},
{&quot;name&quot;: &quot;物料费&quot;, &quot;value&quot;: 2000}
]
}
}</code></pre>
<h5><strong>参数说明</strong></h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>processId</td>
<td>是</td>
<td>string</td>
<td>流程实例ID</td>
</tr>
<tr>
<td>dataVersion</td>
<td>是</td>
<td>integer</td>
<td>必须比当前版本大1</td>
</tr>
<tr>
<td>formData</td>
<td>是</td>
<td>object</td>
<td>业务数据JSON字符串化内容</td>
</tr>
</tbody>
</table>
<h5><strong>返回示例</strong></h5>
<pre><code class="language-json">{
&quot;success&quot;: true,
&quot;code&quot;: 200,
&quot;message&quot;: &quot;数据版本更新成功&quot;,
&quot;data&quot;: {
&quot;snapshotTime&quot;: &quot;2025-04-22 05:30:00&quot;,
&quot;newVersion&quot;: 2
}
}</code></pre>