From 971788bf15d4bd58fe5bb6dbb76f16317a25ef7b Mon Sep 17 00:00:00 2001
From: admin <15939171744@163.com>
Date: 星期五, 12 七月 2024 09:02:14 +0800
Subject: [PATCH] 工厂MES接口地址优化

---
 jcdm-main/src/main/java/com/jcdm/main/restful/qingYan/service/ExternalInterface.java |   17 +----------------
 1 files changed, 1 insertions(+), 16 deletions(-)

diff --git a/jcdm-main/src/main/java/com/jcdm/main/restful/qingYan/service/ExternalInterface.java b/jcdm-main/src/main/java/com/jcdm/main/restful/qingYan/service/ExternalInterface.java
index 70052fe..01f3dad 100644
--- a/jcdm-main/src/main/java/com/jcdm/main/restful/qingYan/service/ExternalInterface.java
+++ b/jcdm-main/src/main/java/com/jcdm/main/restful/qingYan/service/ExternalInterface.java
@@ -72,21 +72,6 @@
 
     @Autowired
     private IDaTestDeviceInterfaceTempService daTestDeviceInterfaceTempService;
-    String url = Constants.FACTORY_EMS_UAT_RUL+"deviceResultFeedback";
-
-//    String url = "https://imes-uat-group.geelycv-test.com/api/mom-open/restful/aMesSysIntegration/deviceResultFeedback";
-
-//    String url = "https://imes-group.geelycv.com/api/mom-open/restful/aMesSysIntegration/deviceResultFeedback";
-
-    /**
-     * 20宸ヤ綅鎺ユ敹娓呯爺鏁版嵁
-     */
-    @PostMapping("/receiveOVCDataFrom020Workstations")
-    public AjaxResult receiveOVCDataFrom020Workstations(@RequestBody ParentVO parentVO)
-    {
-
-        return AjaxResult.success(null);
-    }
 
     /**
      * 瀵煎嚭鐐规浠诲姟鍒楄〃
@@ -106,7 +91,7 @@
         if(parentVO.getStationCode().equals("M1OP020")){
             this.saveDaTestDeviceInterfaceTemp(parentVO,checkList);
         }
-        HttpResponse execute = HttpRequest.post(url).body(JSONUtil.toJsonStr(parentVO)).execute();
+        HttpResponse execute = HttpRequest.post(Constants.FACTORY_EMS_UAT_GET_RUL+"deviceResultFeedback").body(JSONUtil.toJsonStr(parentVO)).execute();
         return AjaxResult.success(execute.body());
     }
 

--
Gitblit v1.9.3