force-app/main/default/classes/LexOPDSupplementaryController.cls
@@ -51,15 +51,17 @@ } @AuraEnabled public static void NewAndUpdateOPDStatus(String Id){ public static String NewAndUpdateOPDStatus(String Id){ try{ OPDPlan__c res =new OPDPlan__c(); res.Id = Id; res.Status__c='提交'; update res; return 'success'; } catch (Exception e) { System.debug(LoggingLevel.INFO, '*** e: ' + e); return e.getMessage(); } }