From 4a51067b4612f348f602c33b82355afa7fc24e54 Mon Sep 17 00:00:00 2001 From: cl <418351270@qq.com> Date: 星期三, 04 九月 2024 08:34:14 +0800 Subject: [PATCH] 修改报工接口 --- jcdm-main/src/main/java/com/jcdm/main/restful/factoryMes/service/RestfulService.java | 2 +- jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java b/jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java index 3cdd3ae..6b5a617 100644 --- a/jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java +++ b/jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java @@ -1050,7 +1050,7 @@ try { String url = Constants.FACTORY_EMS_UAT_GET_RUL + "workReportResultFeedback?siteCode="+Constants.FACTORY_EMS_SITE_CODE+"&stationCode="+stationCode+"&productNum="+productNum+"&confirmTime="+confirmTime; HttpResponse response = HttpRequest.get(url).execute(); - HttpRequest httpRequest = HttpRequest.get(url); + /* HttpRequest httpRequest = HttpRequest.get(url);*/ result = response.body(); }catch (Exception e){ throw new RuntimeException(e); diff --git a/jcdm-main/src/main/java/com/jcdm/main/restful/factoryMes/service/RestfulService.java b/jcdm-main/src/main/java/com/jcdm/main/restful/factoryMes/service/RestfulService.java index 08c4a11..ea88495 100644 --- a/jcdm-main/src/main/java/com/jcdm/main/restful/factoryMes/service/RestfulService.java +++ b/jcdm-main/src/main/java/com/jcdm/main/restful/factoryMes/service/RestfulService.java @@ -37,7 +37,7 @@ try { String url = Constants.FACTORY_EMS_UAT_GET_RUL + "workReportResultFeedback?siteCode="+Constants.FACTORY_EMS_SITE_CODE+"&stationCode="+stationCode+"&productNum="+productNum+"&confirmTime="+confirmTime; HttpResponse response = HttpRequest.get(url).execute(); - HttpRequest httpRequest = HttpRequest.get(url); + /* HttpRequest httpRequest = HttpRequest.get(url);*/ result = response.body(); }catch (Exception e){ e.printStackTrace(); -- Gitblit v1.9.3