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{