修改预案
<h2>修改预案</h2>
<p><strong>接口地址</strong>:<code>/system/doc/update</code></p>
<p><strong>请求方式</strong>:<code>put</code></p>
<p><strong>请求数据类型</strong>:<code>application/json</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:<p>修改预案</p></p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
</tr>
</thead>
<tbody>
<tr>
<td>planDoc</td>
<td>true</td>
<td>object</td>
</tr>
<tr>
<td>&emsp;&emsp;id</td>
<td>详情里的id</td>
<td>query</td>
<td>true</td>
<td>String</td>
</tr>
<tr>
<td>&emsp;&emsp;planName</td>
<td>预案名称</td>
<td>query</td>
<td>true</td>
<td>String</td>
</tr>
<tr>
<td>&emsp;&emsp;planType</td>
<td>预案分类</td>
<td>query</td>
<td>true</td>
<td>String</td>
</tr>
<tr>
<td>&emsp;&emsp;planLevel</td>
<td>预案级别</td>
<td>query</td>
<td>true</td>
<td>String</td>
</tr>
<tr>
<td>&emsp;&emsp;planInfo</td>
<td>预案内容</td>
<td>query</td>
<td>true</td>
<td>String</td>
</tr>
<tr>
<td>regionRelationList</td>
<td>true</td>
<td>array</td>
</tr>
<tr>
<td>&emsp;&emsp;regionId</td>
<td>区域id</td>
<td>query</td>
<td>true</td>
<td>int</td>
</tr>
<tr>
<td>planResoureRelationList</td>
<td>true</td>
<td>array</td>
</tr>
<tr>
<td>&emsp;&emsp;resourceId</td>
<td>资源id</td>
<td>query</td>
<td>true</td>
<td>int</td>
</tr>
<tr>
<td>&emsp;&emsp;resourceNumber</td>
<td>资源数量</td>
<td>query</td>
<td>true</td>
<td>int</td>
</tr>
<tr>
<td>planActionRelationList</td>
<td>true</td>
<td>array</td>
</tr>
<tr>
<td>&emsp;&emsp;userId</td>
<td>人员id</td>
<td>query</td>
<td>true</td>
<td>String</td>
</tr>
<tr>
<td>&emsp;&emsp;actionEventState</td>
<td>0事前 1事中 2事后</td>
<td>query</td>
<td>true</td>
<td>String</td>
</tr>
<tr>
<td>&emsp;&emsp;actionText</td>
<td>需要做什么事</td>
<td>query</td>
<td>true</td>
<td>String</td>
</tr>
</tbody>
</table>
<p><strong>入参示例</strong>:</p>
<pre><code class="language-javascript">{
&quot;planDoc&quot;: {
&quot;planName&quot;: 3,
&quot;planName&quot;: &quot;预案名称1&quot;,
&quot;planType&quot;: &quot;预案分类1&quot;,
&quot;planLevel&quot;: &quot;预案级别1&quot;,
&quot;planInfo&quot;: &quot;预案内容1&quot;
},
&quot;regionRelationList&quot;: [
{
&quot;regionId&quot;: 1
},
{
&quot;regionId&quot;: 2
}
],
&quot;planResoureRelationList&quot;: [
{
&quot;resourceId&quot;: 1,
&quot;resourceNumber&quot;: 10
},
{
&quot;resourceId&quot;: 2,
&quot;resourceNumber&quot;: 20
}
],
&quot;planActionRelationList&quot;: [
{
&quot;userId&quot;: 1,
&quot;actionEventState&quot;: 0,
&quot;actionText&quot;: &quot;事前&quot;
},
{
&quot;userId&quot;: 2,
&quot;actionEventState&quot;: 1,
&quot;actionText&quot;: &quot;事中&quot;
},
{
&quot;userId&quot;: 3,
&quot;actionEventState&quot;: 2,
&quot;actionText&quot;: &quot;事后&quot;
}
]
}</code></pre>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>200</td>
<td>OK</td>
</tr>
</tbody>
</table>
<p><strong>响应参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>类型</th>
<th>schema</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>消息状态码</td>
<td>integer(int32)</td>
<td>integer(int32)</td>
</tr>
<tr>
<td>msg</td>
<td>消息内容</td>
<td>string</td>
</tr>
</tbody>
</table>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-javascript">{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;success&quot;
}</code></pre>