From 1ce13a35baf4d4a8cd047aacfb27afaae3278073 Mon Sep 17 00:00:00 2001
From: zhangzhengmei <zhangzhengmei@prec-tech.com>
Date: 星期四, 18 五月 2023 14:06:28 +0800
Subject: [PATCH] Merge branch 'LEX_dev' into LEX_zhangzhengmei_dev

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

diff --git a/force-app/main/default/classes/buttonQISSCReportCtl.cls b/force-app/main/default/classes/buttonQISSCReportCtl.cls
index 8704763..2ae493e 100644
--- a/force-app/main/default/classes/buttonQISSCReportCtl.cls
+++ b/force-app/main/default/classes/buttonQISSCReportCtl.cls
@@ -21,15 +21,18 @@
 
     // 鏍规嵁ID淇敼QIS甯傚満閮�
     @AuraEnabled
-    public static void updateQISSCReport(String Id){
+    public static String updateQISSCReport(String QId){
+        String s;
         try {
-            QIS_SC_Report__c qis_Sc = new QIS_SC_Report__c();
-            qis_Sc.Id = Id;
-            qis_Sc.Status__c = '宸叉彁浜�';
-            update qis_Sc;
+            QIS_SC_Report__c qis = new QIS_SC_Report__c();
+            qis.Id = QId;
+            qis.Status__c = '宸叉彁浜�';
+            update qis;
         } catch (Exception e) {
             System.debug(LoggingLevel.INFO, '*** e: ' + e);
+            s=e.getMessage();
         }
+        return s;
     }
 
     public class InitData{

--
Gitblit v1.9.1