|  |  |  | 
|---|
|  |  |  | contactAWSDataId1 = '无'; | 
|---|
|  |  |  | contactName1 = '无'; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }else if(ApexPages.currentPage().getParameters().get('CF00N10000008ps6d_lkid') != null){ | 
|---|
|  |  |  | }else{ | 
|---|
|  |  |  | //新建 | 
|---|
|  |  |  | // Map<string,string> mso = ApexPages.currentPage().getParameters(); | 
|---|
|  |  |  | //医院/科室/经销商(手写) | 
|---|
|  |  |  | if(mso.containsKey('00N10000002GE3Z')){ | 
|---|
|  |  |  | controller.getRecord().put('Manual_Name__c',mso.get('00N10000002GE3Z')); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | rtTypeId = ApexPages.currentPage().getParameters().get('RecordType'); | 
|---|
|  |  |  | obj.put('OwnerId',UserInfo.getUserId()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if(ApexPages.currentPage().getParameters().get('CF00N10000008ps6d_lkid') != null){ | 
|---|
|  |  |  | //OPD计划过来的,通过Id查出借出备品申请No1进行展示 | 
|---|
|  |  |  | String opdPlanId = ApexPages.currentPage().getParameters().get('CF00N10000008ps6d_lkid'); | 
|---|
|  |  |  | if(String.isNotEmpty(opdPlanId)&&String.isNotBlank(opdPlanId)){ | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | rtTypeId = ApexPages.currentPage().getParameters().get('RecordType'); | 
|---|
|  |  |  | obj.put('OwnerId',UserInfo.getUserId()); | 
|---|
|  |  |  | }else{ | 
|---|
|  |  |  | //新建 | 
|---|
|  |  |  | // Map<string,string> mso = ApexPages.currentPage().getParameters(); | 
|---|
|  |  |  | //医院/科室/经销商(手写) | 
|---|
|  |  |  | if(mso.containsKey('00N10000002GE3Z')){ | 
|---|
|  |  |  | controller.getRecord().put('Manual_Name__c',mso.get('00N10000002GE3Z')); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | rtTypeId = ApexPages.currentPage().getParameters().get('RecordType'); | 
|---|
|  |  |  | obj.put('OwnerId',UserInfo.getUserId()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | //OPD计划 | 
|---|
|  |  |  | if(mso.containsKey('CF00N10000008ps6d_lkid')){ | 
|---|
|  |  |  | controller.getRecord().put('Report_OPDPlan__c',mso.get('CF00N10000008ps6d_lkid')); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | LayoutDescriberHelper.LayoutWrapper LayoutWrapperValue = LayoutDescriberHelper.describeSectionWithFieldsWrapper(rtTypeId, 'Report__c','classic'); | 
|---|
|  |  |  | layoutSections = LayoutWrapperValue.layoutSections; | 
|---|