| | |
| | | public Integer consumApplySetDetailListSize { get; set; } // 耗材备品总数量 |
| | | public String errorMsg { get; set; } // 错误信息 |
| | | |
| | | //public string staticResource { get; private set; } |
| | | //public string staticResourceCon { get; private set; } |
| | | //public string staticResourceFile { get; private set; } |
| | | public string staticResource { get; private set; } |
| | | public string staticResourceCon { get; private set; } |
| | | public string staticResourceFile { get; private set; } |
| | | public string BRSrc{get;private set;} |
| | | public string QRSrc{get;private set;} |
| | | |
| | |
| | | throw new ControllerUtil.myException('参数错误:请指定Id。'); |
| | | } |
| | | pdfPageList = new List<PdfPageClass>(); |
| | | //staticResource = JSON.serialize(PIHelper.getPIIntegrationInfo('Consum_Apply_Equipment_Set_Detail__c')); |
| | | //staticResourceCon = JSON.serialize(PIHelper.getPIIntegrationInfo('Consum_Apply__c')); |
| | | //staticResourceFile = JSON.serialize(PIHelper.getPIIntegrationInfo('Document')); |
| | | staticResource = JSON.serialize(PIHelper.getPIIntegrationInfo('Consum_Apply_Equipment_Set_Detail__c')); |
| | | staticResourceCon = JSON.serialize(PIHelper.getPIIntegrationInfo('Consum_Apply__c')); |
| | | staticResourceFile = JSON.serialize(PIHelper.getPIIntegrationInfo('Document')); |
| | | } |
| | | |
| | | /** |
| | |
| | | , Post_Code__c // 邮编 |
| | | , Loaner_received_staff__c // 接收人姓名 |
| | | , Loaner_received_staff_phone__c // 接收人电话 |
| | | //,AWS_Data_Id__c //deloitte-zhj 20231010 PIPL还原 |
| | | ,AWS_Data_Id__c |
| | | FROM Consum_Apply__c |
| | | WHERE Id = :targetConsumApplyId |
| | | ]; |
| | |
| | | , Follower_User__r.Name |
| | | , Spare__c // 备用 |
| | | , Comment__c // 备注 |
| | | //, AWS_Data_Id__c //deloitte-zhj 20231010 PIPL还原 |
| | | , AWS_Data_Id__c |
| | | , ManagementCode__c // 管理编码 yc 耗材追溯 |
| | | , EquipmentManagementCode__c // 备品管理码 yc 耗材追溯 |
| | | FROM Consum_Apply_Equipment_Set_Detail__c |
| | |
| | | |
| | | |
| | | public static string GetImageBase64(string id){ |
| | | // 20231103 Lightning文件修改 Start |
| | | List<ContentVersion> version =new List<ContentVersion>(); |
| | | version = [select VersionData from ContentVersion where Id =: id]; |
| | | |
| | | if(version.size() > 0){ |
| | | return 'data:image/png;base64,' + EncodingUtil.base64Encode(version[0].VersionData); |
| | | }else{ |
| | | return ''; |
| | | } |
| | | |
| | | // 20231103 Lightning文件修改 End |
| | | } |
| | | } |