From 07390e2fcb4adf27c928335bf27ae7939c5a80ad Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期二, 23 五月 2023 11:28:12 +0800
Subject: [PATCH] bakcup20230523

---
 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