From ec47f5ab5923a315bf22e0df5af7371e9668589e Mon Sep 17 00:00:00 2001
From: 张宇恒 <bxyun0@163.com>
Date: 星期五, 23 十二月 2022 11:16:18 +0800
Subject: [PATCH] 修理接口推送触发条件新加故障描述修理内容等

---
 force-app/main/default/classes/NFMUtil.cls |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/force-app/main/default/classes/NFMUtil.cls b/force-app/main/default/classes/NFMUtil.cls
index 22e8c7e..69e9c8d 100644
--- a/force-app/main/default/classes/NFMUtil.cls
+++ b/force-app/main/default/classes/NFMUtil.cls
@@ -63,6 +63,9 @@
     public static String NFM703_ENDPOINT = null;
 
     public static String NFM115_ENDPOINT = null;
+    // 鐢靛瓙绛炬敹鍗昐FDC2SAP thh 20220427 start
+    public static String NFM116_ENDPOINT = null;
+    // 鐢靛瓙绛炬敹鍗昐FDC2SAP thh 20220427 end
 
     public static String NFM112_ENDPOINT = null;
 
@@ -126,6 +129,11 @@
             NFM112_ENDPOINT = 'http://wdp.olympus.com.cn:8089/RESTAdapter/NFM112';
 
             NFM115_ENDPOINT = 'https://wdp.olympus.com.cn:44301/RESTAdapter/NFM115';
+
+            // sanbox鐢靛瓙绛炬敹鍗昐FDC2SAP thh 20220427 start
+            NFM116_ENDPOINT = 'https://wdp.olympus.com.cn:44301/RESTAdapter/NFM116';
+            // sanbox鐢靛瓙绛炬敹鍗昐FDC2SAP thh 20220427 end
+
             // 鏂版湇鍔$郴缁� 娴嬭瘯鐜
             AWS_DOMAIN = 'https://olympus.bqbot.com';
               // 鏂版湇鍔$郴缁� 鏈湴鐜锛堜复鏃讹級
@@ -185,7 +193,11 @@
             //鏍锋湰绠$悊
             NFM115_ENDPOINT = 'https://wdp.olympus.com.cn:44302/RESTAdapter/NFM115';
 
- // 鏂版湇鍔$郴缁�
+            // 鐢靛瓙绛炬敹鍗昐FDC2SAP thh 20220427 start
+            NFM116_ENDPOINT = 'https://wdp.olympus.com.cn:44302/RESTAdapter/NFM116';
+            // 鐢靛瓙绛炬敹鍗昐FDC2SAP thh 20220427 end
+
+            // 鏂版湇鍔$郴缁�
             AWS_DOMAIN = 'https://svc-elb.olympuschina.com';
 
             requestURILMS = '/v1/uc/user/syncOlympusUnit';
@@ -538,7 +550,7 @@
             col = '';
         }
         rtn = transferMap.get(col + key);
-        if (rtn == null) {
+        if (!transferMap.containsKey(col + key)) {  //lt 20220530 update
             iflog.ErrorLog__c += 'Warning! Please check [' + col + '] can not transfer key [' + key + ']\n';
             rtn = key;
         }

--
Gitblit v1.9.1