From 492f744d9d84289e27b2ddac9a9b4a2137fd11d6 Mon Sep 17 00:00:00 2001
From: KKbes <1620284052@qq.com>
Date: 星期一, 07 八月 2023 11:25:24 +0800
Subject: [PATCH] slefreview
---
force-app/main/default/classes/LexOPDSupplementaryController.cls | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/classes/LexOPDSupplementaryController.cls b/force-app/main/default/classes/LexOPDSupplementaryController.cls
index 9de7a6a..7c9c7cb 100644
--- a/force-app/main/default/classes/LexOPDSupplementaryController.cls
+++ b/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();
}
}
--
Gitblit v1.9.1