app项目

app项目接口


按工票查询

<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">{     &amp;quot;zyjhmxGpid&amp;quot;: &amp;quot;GP00000160&amp;quot; }</code></pre> <h5>返回示例</h5> <pre><code>// 成功示例 {     &amp;quot;success&amp;quot;: 1,     &amp;quot;msg&amp;quot;: &amp;quot;success&amp;quot;,     &amp;quot;showMsg&amp;quot;: false,     &amp;quot;errorCode&amp;quot;: 0,     &amp;quot;data&amp;quot;: {         &amp;quot;zyjhmxZyjhid&amp;quot;: &amp;quot;ZY00000066&amp;quot;,         &amp;quot;zyjhmxXh&amp;quot;: 1,         &amp;quot;zyjhmxJhrq&amp;quot;: &amp;quot;2022-06-27&amp;quot;,         &amp;quot;zyjhmxWoid&amp;quot;: &amp;quot;MRP0000043&amp;quot;,         &amp;quot;zyjhmxGxid&amp;quot;: 10,//工序号         &amp;quot;zyjhmxZlh&amp;quot;: &amp;quot; &amp;quot;,         &amp;quot;zyjhmxPcsl&amp;quot;: 8.045999526977539,         &amp;quot;zyjhmxWgsl&amp;quot;: 0,         &amp;quot;zyjhmxJhkgrq&amp;quot;: &amp;quot;2022-07-05T16:53:46&amp;quot;,         &amp;quot;zyjhmxJhwgrq&amp;quot;: &amp;quot;2022-07-05T19:33:46&amp;quot;,         &amp;quot;zyjhmxSjkgrq&amp;quot;: null,         &amp;quot;zyjhmxSjwgrq&amp;quot;: null,         &amp;quot;zyjhmxRwlx&amp;quot;: &amp;quot;01&amp;quot;,         &amp;quot;zyjhmxJgrid&amp;quot;: null,         &amp;quot;zyjhmxJgr&amp;quot;: null,         &amp;quot;zyjhmxBc&amp;quot;: &amp;quot;001&amp;quot;,         &amp;quot;zyjhmxScsbid&amp;quot;: null,         &amp;quot;zyjhmxGzzx&amp;quot;: &amp;quot;0101&amp;quot;,         &amp;quot;zyjhmxZzbm&amp;quot;: &amp;quot;01004&amp;quot;,         &amp;quot;zyjhmxZt&amp;quot;: &amp;quot;R&amp;quot;,         &amp;quot;zyjhmxWhrid&amp;quot;: &amp;quot;ADMIN&amp;quot;,         &amp;quot;zyjhmxWhr&amp;quot;: &amp;quot;系统管理员&amp;quot;,         &amp;quot;zyjhmxWhsj&amp;quot;: &amp;quot;2022-06-27T17:28:15&amp;quot;,         &amp;quot;zyjhmxBz&amp;quot;: null,         &amp;quot;zyjhmxGpid&amp;quot;: &amp;quot;GP00000160&amp;quot;,         &amp;quot;zyjhmxHysl&amp;quot;: 0,         &amp;quot;zyjhmxZyjg&amp;quot;: 0,         &amp;quot;zyjhmxBzid&amp;quot;: null,         &amp;quot;zyjhmxWlid&amp;quot;: &amp;quot;02010003&amp;quot;,         &amp;quot;zyjhmxLx&amp;quot;: &amp;quot;CP&amp;quot;,         &amp;quot;zyjhmxBzgxid&amp;quot;: &amp;quot;0101&amp;quot;,         &amp;quot;zyjhmxGfsl&amp;quot;: 0,         &amp;quot;zyjhmxLfsl&amp;quot;: 0,         &amp;quot;zyjhmxFgsl&amp;quot;: 0,         &amp;quot;zyjhmxYkfpsl&amp;quot;: 0,         &amp;quot;zyjhmxYkfgsl&amp;quot;: 0,         &amp;quot;zyjhmxLydid&amp;quot;: null,         &amp;quot;zyjhmxLydxh&amp;quot;: 0,         &amp;quot;zyjhmxBhgsl&amp;quot;: 0,         &amp;quot;zyjhmxFxsl&amp;quot;: 0,         &amp;quot;zyjhmxJjfs&amp;quot;: null,         &amp;quot;zyjhmxScllsl&amp;quot;: 0,         &amp;quot;zyjhmxQgxid&amp;quot;: 0,         &amp;quot;zyjhmxHgxid&amp;quot;: 0,         &amp;quot;zyjhmxGwid&amp;quot;: null,         &amp;quot;zyjhmxSczt&amp;quot;: null,         &amp;quot;zyjhmxScxid&amp;quot;: &amp;quot;01015&amp;quot;,         &amp;quot;zyjhmxGyztid&amp;quot;: null,         &amp;quot;zyjhmxBcrq&amp;quot;: &amp;quot;2022-07-05&amp;quot;,         &amp;quot;zyjhmxBxwc&amp;quot;: &amp;quot;N&amp;quot;,         &amp;quot;zyjhmxMjwlid&amp;quot;: null,         &amp;quot;zyjhmxMh&amp;quot;: null,         &amp;quot;zyjhmxFkid&amp;quot;: null,         &amp;quot;zyjhmxFkxh&amp;quot;: null,         &amp;quot;zyjhmxGcid&amp;quot;: &amp;quot;GC01&amp;quot;,         &amp;quot;zyjhmxPcjgid&amp;quot;: null,         &amp;quot;zyjhmxPcjgbcid&amp;quot;: &amp;quot;1541348300945494092&amp;quot;,         &amp;quot;wlxxMc&amp;quot;: &amp;quot;G0337-5700-63-J+T6&amp;quot;,         &amp;quot;wlxxDjgl&amp;quot;: &amp;quot;Y&amp;quot;, // Y:开启单件管理,N:不开启单件管理 &amp;quot;wlxxTh&amp;quot;:&amp;quot;911-615-1-3&amp;quot;,//物料图号         &amp;quot;gxmc&amp;quot;: &amp;quot;挤压&amp;quot;, &amp;quot;lsww&amp;quot;:10 //临时委外数量     } } // 失败示例 { &amp;quot;success&amp;quot;: 0, &amp;quot;msg&amp;quot;: &amp;quot;请填写Id值&amp;quot;, &amp;quot;showMsg&amp;quot;: true, &amp;quot;data&amp;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:成功;&lt;br&gt; 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: 有错误信息;&lt;br&gt; 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>

页面列表

ITEM_HTML