public with sharing class LexCommitNeedApprovalController {
|
|
@AuraEnabled
|
public static meeting_delay_apply__c init(String recordId){
|
meeting_delay_apply__c res = new meeting_delay_apply__c();
|
try{
|
res = [Select Id,status__c,campaign__c
|
FROM meeting_delay_apply__c
|
WHERE Id = : recordId];
|
}
|
catch(Exception e){
|
System.debug(LoggingLevel.INFO, '*** e: ' + e);
|
}
|
return res;
|
}
|
|
@AuraEnabled
|
public static String newUpdateMeetingDelayApply(String Id){
|
meeting_delay_apply__c res = new meeting_delay_apply__c();
|
try{
|
res.Id=Id;
|
res.Status__c ='提交';
|
update res;
|
return 'succuse';
|
}
|
catch (Exception e) {
|
System.debug(LoggingLevel.INFO, '*** e: ' + e);
|
return e.getMessage();
|
}
|
|
}
|
}
|