1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| public with sharing class RepairAgainAnPDFController {
| public RepairAgainAn__c ra { get; private set; }
|
| public RepairAgainAnPDFController() {
| ra = new RepairAgainAn__c();
| }
|
| public void init(){
| String id = ApexPages.currentPage().getParameters().get('id');
| List<RepairAgainAn__c> RaList= [select id, Asset_Model_No__c, SerialNumber__c, Hospital__c, PhenomenonName__c, Usage_Frequence__c, InspectionComment__c,
| Cleanning__c, Disinfect__c, Sterilization__c, AcceptDate__c, LastDateCnt__c, Repair_Rank__c, AnalysisOSH__c,
| AnalysisReasonOSH__c, Reporter__c, Report_Date__c, FSE_Confirmer__c, Dectect_Picture1_URL__c, Dectect_Picture2_URL__c,
| SAP_Service_Repair_No__c, AcceptDateLast__c, Repair_Returned_Last__c, Repair_Rank_Last__c, IFRepairAgain__c,
| RepairLast__c, InspectionFailureCause_Last__c, JudgementOSH__c, ActionOSH__c, OSH_Confirmer__c, OSH_Detector__c,
| OSH_Confirmation_Date__c, OSH_Dectect_Picture1_URL__c, OSH_Dectect_Picture2_URL__c, OSH_Dectect_Picture3_URL__c,
| OSH_Dectect_Picture4_URL__c, AnalysisOCM__c, ActionOCM__c, Technical_Responsibility__c, SAP_Service_Repair_No_Last__c,
| OCM_Confirmer__c, OCM_Confirmation_Date__c, Reporter__r.Name, FSE_Confirmer__r.Name, OSH_Detector__r.Name,
| OSH_Confirmer__r.Name, OCM_Confirmer__r.Name, Technical_Responsibility__r.Name
| from RepairAgainAn__c where Id =: id];
| if(RaList.size() > 0){
| ra = RaList[0];
| }
| }
| }
|
|