高章伟
2022-02-18 8b5f4c6c281cfa548f92de52c8021e37aa81901e
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
    }
}