From cc92bc17b8a2ce2f916fc694a404e1f0800fe062 Mon Sep 17 00:00:00 2001 From: 李彤 <litong@prec-tech.com> Date: 星期二, 19 四月 2022 14:26:27 +0800 Subject: [PATCH] 103接口 --- force-app/main/default/classes/NFMUtil.cls | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/force-app/main/default/classes/NFMUtil.cls b/force-app/main/default/classes/NFMUtil.cls index 421d0c2..22e8c7e 100644 --- a/force-app/main/default/classes/NFMUtil.cls +++ b/force-app/main/default/classes/NFMUtil.cls @@ -130,6 +130,7 @@ 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,6 +180,8 @@ 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'; @@ -365,6 +368,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