From d77b6353ca9b59a6398df3eae9912f9fd766946d Mon Sep 17 00:00:00 2001
From: zhangzhengmei <zhangzhengmei@prec-tech.com>
Date: 星期六, 05 八月 2023 17:04:22 +0800
Subject: [PATCH] fix: lightning 页面确认

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

diff --git a/force-app/main/default/classes/LexVMcontractUsageRateNewController.cls b/force-app/main/default/classes/LexVMcontractUsageRateNewController.cls
new file mode 100644
index 0000000..3911a2e
--- /dev/null
+++ b/force-app/main/default/classes/LexVMcontractUsageRateNewController.cls
@@ -0,0 +1,13 @@
+public with sharing class LexVMcontractUsageRateNewController {
+    @AuraEnabled
+    public static String init(String recordId){
+        try {
+           String reportId = [select Id from Report where DeveloperName ='VM_contract_bottun'].Id;
+           return reportId;
+        }   
+        catch (Exception e) {
+           return e.getMessage(); 
+        }
+        
+    }
+}
\ No newline at end of file

--
Gitblit v1.9.1