From b3dc8e8ce0a120b4f484ef787abd21832c40ec63 Mon Sep 17 00:00:00 2001
From: 彭锟 <pengkun@prec-tech.com>
Date: 星期日, 24 四月 2022 10:07:34 +0800
Subject: [PATCH] Merge branch 'master' of http://47.92.229.245:8089/r/OlyMEBG

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

diff --git a/force-app/main/default/classes/NFMUtil.cls b/force-app/main/default/classes/NFMUtil.cls
index d671e2a..22e8c7e 100644
--- a/force-app/main/default/classes/NFMUtil.cls
+++ b/force-app/main/default/classes/NFMUtil.cls
@@ -368,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