From beaf695f5fe0b6c28950f78f7305c71eea44e56d Mon Sep 17 00:00:00 2001
From: unknown <sunxia@prec-tech.com>
Date: 星期三, 17 五月 2023 16:12:30 +0800
Subject: [PATCH] Merge branch 'LEX_dev' of http://47.92.229.245:8089/r/lightningupdate into LEX_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