From 115b1ebc6e433315a9835af24d4fe0f90343a3ca Mon Sep 17 00:00:00 2001
From: 李彤 <litong@prec-tech.com>
Date: 星期一, 30 五月 2022 14:12:19 +0800
Subject: [PATCH] 转送表外部值对应的内部值为空对应

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

diff --git a/force-app/main/default/classes/NFMUtil.cls b/force-app/main/default/classes/NFMUtil.cls
index eca54fb..69e9c8d 100644
--- a/force-app/main/default/classes/NFMUtil.cls
+++ b/force-app/main/default/classes/NFMUtil.cls
@@ -197,7 +197,7 @@
             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';
@@ -550,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