按工票查询
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>按工票查询接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/mes/zyjhmx/queryByZyjhmxGpid</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>headers</h5>
<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;">Content-Type</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>application/json</td>
</tr>
<tr>
<td style="text-align: left;">access_token</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>${token}</td>
</tr>
</tbody>
</table>
<h5>body参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">zyjhmxGpid</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>工票号</td>
<td></td>
</tr>
</tbody>
</table>
<h5>请求示例</h5>
<pre><code class="language-json">{
&quot;zyjhmxGpid&quot;: &quot;GP00000160&quot;
}</code></pre>
<h5>返回示例</h5>
<pre><code>// 成功示例
{
&quot;success&quot;: 1,
&quot;msg&quot;: &quot;success&quot;,
&quot;showMsg&quot;: false,
&quot;errorCode&quot;: 0,
&quot;data&quot;: {
&quot;zyjhmxZyjhid&quot;: &quot;ZY00000066&quot;,
&quot;zyjhmxXh&quot;: 1,
&quot;zyjhmxJhrq&quot;: &quot;2022-06-27&quot;,
&quot;zyjhmxWoid&quot;: &quot;MRP0000043&quot;,
&quot;zyjhmxGxid&quot;: 10,//工序号
&quot;zyjhmxZlh&quot;: &quot; &quot;,
&quot;zyjhmxPcsl&quot;: 8.045999526977539,
&quot;zyjhmxWgsl&quot;: 0,
&quot;zyjhmxJhkgrq&quot;: &quot;2022-07-05T16:53:46&quot;,
&quot;zyjhmxJhwgrq&quot;: &quot;2022-07-05T19:33:46&quot;,
&quot;zyjhmxSjkgrq&quot;: null,
&quot;zyjhmxSjwgrq&quot;: null,
&quot;zyjhmxRwlx&quot;: &quot;01&quot;,
&quot;zyjhmxJgrid&quot;: null,
&quot;zyjhmxJgr&quot;: null,
&quot;zyjhmxBc&quot;: &quot;001&quot;,
&quot;zyjhmxScsbid&quot;: null,
&quot;zyjhmxGzzx&quot;: &quot;0101&quot;,
&quot;zyjhmxZzbm&quot;: &quot;01004&quot;,
&quot;zyjhmxZt&quot;: &quot;R&quot;,
&quot;zyjhmxWhrid&quot;: &quot;ADMIN&quot;,
&quot;zyjhmxWhr&quot;: &quot;系统管理员&quot;,
&quot;zyjhmxWhsj&quot;: &quot;2022-06-27T17:28:15&quot;,
&quot;zyjhmxBz&quot;: null,
&quot;zyjhmxGpid&quot;: &quot;GP00000160&quot;,
&quot;zyjhmxHysl&quot;: 0,
&quot;zyjhmxZyjg&quot;: 0,
&quot;zyjhmxBzid&quot;: null,
&quot;zyjhmxWlid&quot;: &quot;02010003&quot;,
&quot;zyjhmxLx&quot;: &quot;CP&quot;,
&quot;zyjhmxBzgxid&quot;: &quot;0101&quot;,
&quot;zyjhmxGfsl&quot;: 0,
&quot;zyjhmxLfsl&quot;: 0,
&quot;zyjhmxFgsl&quot;: 0,
&quot;zyjhmxYkfpsl&quot;: 0,
&quot;zyjhmxYkfgsl&quot;: 0,
&quot;zyjhmxLydid&quot;: null,
&quot;zyjhmxLydxh&quot;: 0,
&quot;zyjhmxBhgsl&quot;: 0,
&quot;zyjhmxFxsl&quot;: 0,
&quot;zyjhmxJjfs&quot;: null,
&quot;zyjhmxScllsl&quot;: 0,
&quot;zyjhmxQgxid&quot;: 0,
&quot;zyjhmxHgxid&quot;: 0,
&quot;zyjhmxGwid&quot;: null,
&quot;zyjhmxSczt&quot;: null,
&quot;zyjhmxScxid&quot;: &quot;01015&quot;,
&quot;zyjhmxGyztid&quot;: null,
&quot;zyjhmxBcrq&quot;: &quot;2022-07-05&quot;,
&quot;zyjhmxBxwc&quot;: &quot;N&quot;,
&quot;zyjhmxMjwlid&quot;: null,
&quot;zyjhmxMh&quot;: null,
&quot;zyjhmxFkid&quot;: null,
&quot;zyjhmxFkxh&quot;: null,
&quot;zyjhmxGcid&quot;: &quot;GC01&quot;,
&quot;zyjhmxPcjgid&quot;: null,
&quot;zyjhmxPcjgbcid&quot;: &quot;1541348300945494092&quot;,
&quot;wlxxMc&quot;: &quot;G0337-5700-63-J+T6&quot;,
&quot;wlxxDjgl&quot;: &quot;Y&quot;, // Y:开启单件管理,N:不开启单件管理
&quot;wlxxTh&quot;:&quot;911-615-1-3&quot;,//物料图号
&quot;gxmc&quot;: &quot;挤压&quot;,
&quot;lsww&quot;:10 //临时委外数量
}
}
// 失败示例
{
&quot;success&quot;: 0,
&quot;msg&quot;: &quot;请填写Id值&quot;,
&quot;showMsg&quot;: true,
&quot;data&quot;: null
}
</code></pre>
<h5>返回参数说明</h5>
<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;">success</td>
<td style="text-align: left;">int</td>
<td>1:成功;<br> 0:失败</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td style="text-align: left;">string</td>
<td>提示信息</td>
</tr>
<tr>
<td style="text-align: left;">showMsg</td>
<td style="text-align: left;">boolean</td>
<td>true: 有错误信息;<br> false:无错误信息;</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">string</td>
<td>值</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>