From d075f9ef422d029599749fcf65c44740dbe4d8f9 Mon Sep 17 00:00:00 2001 From: 涂煌豪 <tuhuanghao@prec-tech.com> Date: 星期一, 16 五月 2022 10:37:51 +0800 Subject: [PATCH] 【委托】电子签收单RPA系统迁移 --- force-app/main/default/classes/NFMUtil.cls | 37 +++++++++++++++++++++++++++++++++++-- 1 files changed, 35 insertions(+), 2 deletions(-) diff --git a/force-app/main/default/classes/NFMUtil.cls b/force-app/main/default/classes/NFMUtil.cls index 7f66b5d..eca54fb 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; @@ -78,8 +81,8 @@ //NFM007_ENDPOINT = 'http://wdp.olympus.com.cn:8089/RESTAdapter/NFM007'; NFM007_ENDPOINT = 'https://wdp.olympus.com.cn:44301/RESTAdapter/NFM007'; NFM008_ENDPOINT = 'https://owdc-test.olympus.co.jp/XISOAPAdapter/MessageServlet?senderParty=&senderService=OCM_SFDC_T&receiverParty=&receiverService=&interface=NFM008_Sync_BC2GPI&interfaceNamespace=http%3A%2F%2Folympus.co.jp%2Fgpi%2FNFM008'; - NFM103_ENDPOINT = 'http://wdp.olympus.com.cn:8089/RESTAdapter/NFM103'; - // NFM103_ENDPOINT = 'https://sfpi-mebg-test.olympuschina.com/api/nfm/103';//aws 103鎺ュ彛 + // NFM103_ENDPOINT = 'http://wdp.olympus.com.cn:8089/RESTAdapter/NFM103'; + NFM103_ENDPOINT = 'https://sfpi-mebg-test.olympuschina.com/api/nfm/103';//aws 103鎺ュ彛 // NFM106_ENDPOINT = 'https://owdc-test.olympus.co.jp/XISOAPAdapter/MessageServlet?senderParty=&senderService=OCM_SFDC_T&receiverParty=&receiverService=&interface=NFM106_Sync_BC2GPI&interfaceNamespace=http%3A%2F%2Folympus.co.jp%2Fgpi%2FNFM106'; NFM106_ENDPOINT = 'http://wdp.olympus.com.cn:8089/RESTAdapter/NFM106'; //NFM106_ENDPOINT = 'https://sfdc-ocm-test.olympus.co.jp/XISOAPAdapter/MessageServlet?senderParty=&senderService=OCM_SFDC_T&receiverParty=&receiverService=&interface=NFM106_Sync_BC2GPI&interfaceNamespace=http%3A%2F%2Folympus.co.jp%2Fgpi%2FNFM106'; @@ -126,10 +129,16 @@ 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'; // 鏂版湇鍔$郴缁� 鏈湴鐜锛堜复鏃讹級 // AWS_DOMAIN = 'http://114.249.236.98:29990'; + // AWS_DOMAIN = 'http://114.249.231.75:29995'; // AWS_DOMAIN = 'http://jzbase.bqbot.com:29990'; // AWS_DOMAIN = 'http://114.249.238.243:29990'; @@ -179,8 +188,14 @@ NFM702_ENDPOINT = 'https://wdp.olympus.com.cn:44302/RESTAdapter/NFM702'; NFM703_ENDPOINT = 'https://wdp.olympus.com.cn:44302/RESTAdapter/NFM703'; + //鍏堟鍚庝慨 + NFM112_ENDPOINT = 'http://wdp.olympus.com.cn:8089/RESTAdapter/NFM112'; //鏍锋湰绠$悊 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'; @@ -365,6 +380,24 @@ return rtn; } + // lt 20220419 Start + /** + * @return yyyy/MM/dd 銇棩浠樻枃瀛楀垪 + */ + public static String formatDateTime2StrSprit2(DateTime dt) { + String rtn = null; + if (dt == null) { + rtn = ''; + } else { + String pDate = formatDateTime2Str(dt); + rtn = (pDate.substring(0, 4)) + '/' + + (pDate.substring(4, 6)) + '/' + + (pDate.substring(6, 8)); + } + return rtn; + } + // lt 20220419 End + /** * add wangweipeng 2022/02/11 * [formatDateTime2StrDateTime description] -- Gitblit v1.9.1