From 3962c2bb0435484b60a3e408e4738d792e249a53 Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期一, 05 六月 2023 11:09:55 +0800
Subject: [PATCH] LEX CommunityNewCmp

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

diff --git a/force-app/main/default/classes/LexUtility.cls b/force-app/main/default/classes/LexUtility.cls
new file mode 100644
index 0000000..56d6ae7
--- /dev/null
+++ b/force-app/main/default/classes/LexUtility.cls
@@ -0,0 +1,14 @@
+public without sharing class LexUtility {
+    
+    //鏌ヨ鏄惁涓�鐩存樉绀烘彁绀�
+    public static Boolean getIsNoteStay(){
+        NoteStay__c noteStay = NoteStay__c.getInstance('NoteStay');
+        return noteStay.IsStay__c;
+    }
+
+    //鏌ヨ璁稿彲璇佹彁閱掑ぉ鏁�
+    public static Integer getLicenceReminderDays(){
+        LicenceReminderDate__c days = LicenceReminderDate__c.getInstance('180Days');
+        return days.ReminderDays__c.intValue();
+    }
+}
\ No newline at end of file

--
Gitblit v1.9.1