cl
2024-07-11 35c489d86b027462dca8bdd06e5fb6dc066fa428
jcdm-main/src/main/java/com/jcdm/main/restful/factoryMes/service/RestfulService.java
@@ -36,9 +36,9 @@
     * @return
     */
    //{"code":"success","data":{"productNum":"LCV123456P0600036","stationCode":"1HZ01","materialCode":"LCV001_3","productionOrderNum":"500000258"},"message":"API调用成功"}
    public static String getProductionWorkOrderRequest(String productNum,String stationCode)
    public static String getProductionWorkOrderRequest(String productNum,String stationCode,String materialCode)
    {
        String url = getRealmName + "/productionWorkOrderRequest?siteCode="+siteCode+"&stationCode="+stationCode+"&productNum="+productNum;
        String url = getRealmName + "/productionWorkOrderRequest?siteCode="+siteCode+"&stationCode="+stationCode+"&productNum="+productNum+"&materialCode="+materialCode;
        HttpResponse response = HttpRequest.get(url).execute();
        HttpRequest httpRequest = HttpRequest.get(url);
        return response.body();