| | |
| | | String res =''; |
| | | try { |
| | | Repair_Quotation__c repair = new Repair_Quotation__c(); |
| | | repair.Id = recordid; |
| | | repair.Id = recordId; |
| | | repair.CutPriceStatus_Service__c = '已提交'; |
| | | update repair; |
| | | } catch (Exception e) { |
| | |
| | | String res =''; |
| | | try { |
| | | Repair_Quotation__c repair = new Repair_Quotation__c(); |
| | | repair.Id = recordid; |
| | | repair.Id = recordId; |
| | | repair.Rental_Apply_Discount_Status__c = '已提交'; |
| | | update repair; |
| | | } catch (Exception e) { |
| | |
| | | return res; |
| | | } |
| | | |
| | | // 查找简档 |
| | | @AuraEnabled |
| | | public static List<Profile> initSelectProfile(String profileId){ |
| | | List<Profile> res = new List<Profile>(); |
| | | try{ |
| | | res = [SELECT Id,name FROM Profile WHERE Id=: profileId ]; |
| | | }catch(Exception e){ |
| | | System.debug(LoggingLevel.INFO, '*** e: ' + e); |
| | | } |
| | | return res; |
| | | } |
| | | |
| | | public class InitData{ |
| | | @AuraEnabled |
| | | public String Id; |