工艺管理
<p><strong>简要描述:</strong> </p>
<ul>
<li>工艺类型新增</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://192.168.1.40:8080/common/processTypes/saveProcessTypes</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">processTypes</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>工艺类型</td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">Integer</td>
<td>状态1是正常,0是禁用</td>
</tr>
<tr>
<td style="text-align: left;">remarks</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>备注</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;resultMsg&quot;: &quot;OK&quot;,
&quot;resultCode&quot;: 200,
&quot;resultInfo&quot;: 1,
&quot;page&quot;: null
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>
<p><strong>简要描述:</strong> </p>
<ul>
<li>根据编码查询(编辑/查看)</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://192.168.1.40:8080/common/processTypes/queryProcessTypesByEncoding</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>post </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">Encoding</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>编码</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;resultMsg&quot;: &quot;OK&quot;,
&quot;resultCode&quot;: 200,
&quot;resultInfo&quot;: {
&quot;id&quot;: 5,
&quot;processTypes&quot;: &quot;niubi&quot;,
&quot;status&quot;: 0,
&quot;encoding&quot;: &quot;201807021302118713ZDMP&quot;,
&quot;remarks&quot;: &quot;niubi&quot;
},
&quot;page&quot;: null
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>
<p><strong>简要描述:</strong> </p>
<ul>
<li>工艺类型列表/查询</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://192.168.1.40:8080/common/processTypes/queryByProcessTypesOrStatus</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>状态</td>
</tr>
<tr>
<td style="text-align: left;">processTypes</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>类型名称</td>
</tr>
<tr>
<td style="text-align: left;">pageNo</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">Integer</td>
<td>哪一页</td>
</tr>
<tr>
<td style="text-align: left;">pageSize</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">Integer</td>
<td>多少条</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;resultMsg&quot;: &quot;OK&quot;,
&quot;resultCode&quot;: 200,
&quot;resultInfo&quot;: [
{
&quot;id&quot;: 1,
&quot;processTypes&quot;: null,
&quot;status&quot;: null,
&quot;encoding&quot;: &quot;20180702125941922C4XFY&quot;,
&quot;remarks&quot;: null
},
{
&quot;id&quot;: 2,
&quot;processTypes&quot;: null,
&quot;status&quot;: null,
&quot;encoding&quot;: &quot;20180702130004086LN5VJ&quot;,
&quot;remarks&quot;: null
},
{
&quot;id&quot;: 3,
&quot;processTypes&quot;: null,
&quot;status&quot;: null,
&quot;encoding&quot;: &quot;20180702130040023X0U1W&quot;,
&quot;remarks&quot;: null
},
{
&quot;id&quot;: 4,
&quot;processTypes&quot;: &quot;0&quot;,
&quot;status&quot;: 1,
&quot;encoding&quot;: &quot;20180702130130498LSSFQ&quot;,
&quot;remarks&quot;: &quot;牛逼&quot;
},
{
&quot;id&quot;: 5,
&quot;processTypes&quot;: &quot;niubi&quot;,
&quot;status&quot;: 0,
&quot;encoding&quot;: &quot;201807021302118713ZDMP&quot;,
&quot;remarks&quot;: &quot;niubi&quot;
},
{
&quot;id&quot;: 6,
&quot;processTypes&quot;: &quot;200&quot;,
&quot;status&quot;: 0,
&quot;encoding&quot;: &quot;20180702153234942LO69V&quot;,
&quot;remarks&quot;: &quot;1&quot;
},
{
&quot;id&quot;: 7,
&quot;processTypes&quot;: null,
&quot;status&quot;: 0,
&quot;encoding&quot;: &quot;20180703111625156HVTIY&quot;,
&quot;remarks&quot;: null
}
],
&quot;page&quot;: null
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>
<p><strong>简要描述:</strong> </p>
<ul>
<li>查询状态为1的数据(正常的数据)</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://192.168.1.40:8080/common/processTypes/queryStatusEqualOne</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;resultMsg&quot;: &quot;OK&quot;,
&quot;resultCode&quot;: 200,
&quot;resultInfo&quot;: [
{
&quot;id&quot;: 4,
&quot;processTypes&quot;: &quot;0&quot;,
&quot;status&quot;: 1,
&quot;encoding&quot;: &quot;20180702130130498LSSFQ&quot;,
&quot;remarks&quot;: &quot;牛逼&quot;
}
],
&quot;page&quot;: null
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p><strong>简要描述:</strong> </p>
<ul>
<li>工艺类型编辑保存</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://192.168.1.40:8080/common/processTypes/updateProcessTypes</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">Encoding</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>编码</td>
</tr>
<tr>
<td style="text-align: left;">processTypes</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>工艺类型</td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">Integer</td>
<td>状态1是正常,0是禁用</td>
</tr>
<tr>
<td style="text-align: left;">remarks</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>备注</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;resultMsg&quot;: &quot;OK&quot;,
&quot;resultCode&quot;: 200,
&quot;resultInfo&quot;: 1,
&quot;page&quot;: null
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>