public with sharing class MaintenanceCommissionPDFController {
    public Repair__c ra { get; private set; }
    public List<Repair__c> repList { get; private set; }

    public MaintenanceCommissionPDFController() {
        ra = new Repair__c();
    }

    public void init(){
        String id = ApexPages.currentPage().getParameters().get('id');
        List<String> IdList = new List<String>();
        IdList = id.split('=');
        List<Repair__c> RaList= [select id, Name, HP_Name__c, SAP_Service_Repair_No__c, Dealer__r.Name, Failure_Occurrence_Date__c,Failure_Source__c, Delivered_Product__r.Name,
                                    FSE_ApplyForRepair_Day__c, SerialNumber__c, SAP_Transfer_day__c, Incharge_Staff__r.Name,Repair_Detail__c
                                    from Repair__c where Id =: IdList];
        if(RaList.size() > 0){
            repList = RaList;
        }
    }
}