From 25f056535350a0b80bad50d2cc45311998e5d1cd Mon Sep 17 00:00:00 2001
From: 19626 <1962676589@qq.com>
Date: 星期一, 09 十月 2023 18:28:00 +0800
Subject: [PATCH] 近期修改
---
force-app/main/default/classes/lexSolutionProjectRequirementsController.cls | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/force-app/main/default/classes/lexSolutionProjectRequirementsController.cls b/force-app/main/default/classes/lexSolutionProjectRequirementsController.cls
index bedc618..63ca106 100644
--- a/force-app/main/default/classes/lexSolutionProjectRequirementsController.cls
+++ b/force-app/main/default/classes/lexSolutionProjectRequirementsController.cls
@@ -41,7 +41,7 @@
res.hospital = so.Hospital__c;
res.departmentClass = so.Department_Class__c;
} catch (Exception e) {
- throw new AuraHandledException(e.getMessage());
+ System.debug(LoggingLevel.INFO, '*** e: ' + e);
}
return res;
}
@@ -59,7 +59,7 @@
res.profileId = UserInfo.getProfileId();
res.m2ProfileId = [select Id from Profile where Name =: lexLightingButtonConstant.M2_PROFILE_NAME].Id;
} catch (Exception e) {
- throw new AuraHandledException(e.getMessage());
+ System.debug(LoggingLevel.INFO, '*** e: ' + e);
}
return res;
}
@@ -118,7 +118,7 @@
];
} catch (Exception e) {
- throw new AuraHandledException(e.getMessage());
+ System.debug(LoggingLevel.INFO, '*** e: ' + e);
}
return accList;
}
@@ -134,7 +134,7 @@
from Solution_Programme__c where SolutionProjectRequirements__c =: recordId and Scheme_Type__c = '缁撴'
];
} catch (Exception e) {
- throw new AuraHandledException(e.getMessage());
+ System.debug(LoggingLevel.INFO, '*** e: ' + e);
}
return so;
}
@@ -147,11 +147,11 @@
select id,name from solutionClosingAttachment__c where Solution_Programme__c =: solprogrammeId
];
} catch (Exception e) {
- throw new AuraHandledException(e.getMessage());
+ System.debug(LoggingLevel.INFO, '*** e: ' + e);
}
return so;
}
- class InitData{
+ public class InitData{
@AuraEnabled
public String status;
@AuraEnabled
--
Gitblit v1.9.1