From 890eafcf31f5f8d519bb9e6f9c15303be5328e2d Mon Sep 17 00:00:00 2001
From: KKbes <1620284052@qq.com>
Date: 星期一, 07 八月 2023 10:48:54 +0800
Subject: [PATCH] review

---
 force-app/main/default/classes/LexNewIntentionController.cls |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/force-app/main/default/classes/LexNewIntentionController.cls b/force-app/main/default/classes/LexNewIntentionController.cls
index f508d2b..a038d6c 100644
--- a/force-app/main/default/classes/LexNewIntentionController.cls
+++ b/force-app/main/default/classes/LexNewIntentionController.cls
@@ -11,12 +11,13 @@
             Sales_Method__c,Request__c,Request_Detail__c 
                 FROM Agency_Opportunity__c
                     WHERE  Id = : recordId];
+            return res;
 
         }
         catch(Exception e){
             System.debug(LoggingLevel.INFO, '*** e: ' + e);
+            return null;
         }
-        return res;
 
     }
 
@@ -29,8 +30,9 @@
         }
         catch (Exception e) {
             System.debug(LoggingLevel.INFO, '*** e: ' + e);
+            return null;
         }
-        return null;
+
     }
 
         @AuraEnabled
@@ -41,7 +43,8 @@
         }
         catch (Exception e) {
             System.debug(LoggingLevel.INFO, '*** e: ' + e);
+            return null;
         }
-        return null;
+        
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1