一生一代一双人
2022-03-01 e42a9df5ac26b05cc8d35728bfd9f9d323bff73a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
测试
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
    }
}