/* 测试 MoreMaintenanceContractControllerTest */ public with sharing class MoreMaintenanceContractPopController { public String Id {get; set;} public String RecordTypeName {get;set;} public Boolean isVM {get;set;} //20201228 zh LJPH-BWJ8PM 制作报告书按钮 public MoreMaintenanceContractPopController() { Id = ApexPages.currentPage().getParameters().get('Id'); RecordTypeName = ApexPages.currentPage().getParameters().get('RecordTypeName'); //20201228 zh LJPH-BWJ8PM 制作报告书按钮 start isVM = false; if ('VM_Contract'.equals(RecordTypeName)) { isVM = true; } //20201228 zh LJPH-BWJ8PM 制作报告书按钮 end } }