| | |
| | | public boolean isExpress{get; private set; } |
| | | public boolean isRenew{get; private set; } |
| | | public String OCM_Number{get; private set; } |
| | | public String staticResource{get; private set; }// 20220221 PI改造 by Bright |
| | | |
| | | public DeliveryConfirmPDFController() { |
| | | laId = System.currentPageReference().getParameters().get('id'); |
| | | staticResource = JSON.serialize(PIHelper.getPIIntegrationInfo('loaner_application__c'));// 20220221 PI改造 by Bright |
| | | } |
| | | //初始化数据 |
| | | public PageReference init(){ |
| | |
| | | baseUrl += '/production'; |
| | | } |
| | | //获取借用单信息 |
| | | List<loaner_application__c> laList = [select Id,Follow_Opp_text__c,Follow_Opp__r.InquiryNumber__c,Equipment_Type__c ,pickup_time__c,Loaner_Apply_Renewal_Date__c,loaner_Remark__c,Rental_End_Date__c,Loaner_Ser__c,Approval_Date__c,loaner_request_number__c,Agent__r.Name,Approver__r.Name,Rental_Start_Date__c,loaner_place__c,Demo_purpose__c,direct_shippment_address__c,Loaner_receive_staff__c,Loaner_receive_staff_phone__c,CreatorUserType__c, |
| | | AWS_Data_Id__c,// 20220221 PI改造 by Bright |
| | | Applicant_department__c from loaner_application__c where Id = :laId]; |
| | | List<loaner_application__c> laList = [select Id,Follow_Opp_text__c,Follow_Opp__r.InquiryNumber__c,Equipment_Type__c ,pickup_time__c,Loaner_Apply_Renewal_Date__c,loaner_Remark__c,Rental_End_Date__c,Loaner_Ser__c,Approval_Date__c,loaner_request_number__c,Agent__r.Name,Approver__r.Name,Rental_Start_Date__c,loaner_place__c,Demo_purpose__c,direct_shippment_address__c,Loaner_receive_staff__c,Loaner_receive_staff_phone__c,CreatorUserType__c,Applicant_department__c from loaner_application__c where Id = :laId]; |
| | | if (laList.size() == 0) { |
| | | return null; |
| | | } |