| | |
| | | system.debug('123321+++++++===='+AdjudicationDataobj.cam.IF_Approved__c); |
| | | if(AdjudicationDataobj.cam != null){ |
| | | if(AdjudicationDataobj.cam.IF_Approved__c || String.isNotBlank(AdjudicationDataobj.cam.Meeting_Approved_No__c)){ |
| | | url += '&00N1m000005tHDi=1'; |
| | | url += NFMUtil.isSandbox() ? '&00N1m000005tHDi=1' : '&00N10000009HBVs=1'; |
| | | }else{ |
| | | url += '&00N1m000005tHDi=0'; |
| | | url += NFMUtil.isSandbox() ? '&00N1m000005tHDi=0' : '&00N10000009HBVs=0'; |
| | | } |
| | | } |
| | | if(AdjudicationDataobj.cam != null && String.isNotBlank(AdjudicationDataobj.cam.Meeting_Approved_No__c)){ |
| | |
| | | url += '&00N10000008ptmP=' + mam.ConveningParticipantsNum__c; |
| | | } |
| | | if(String.isNotBlank(String.valueOf(mam.ExpectedOlympusAttendance__c))){ |
| | | url += '&00N1m00000652oO=' + mam.ExpectedOlympusAttendance__c; |
| | | url += (NFMUtil.isSandbox() ? '&00N1m00000652oO=' : '&00N10000009HBYD=') + mam.ExpectedOlympusAttendance__c; |
| | | } |
| | | //预计参会HCP人数、赞助类别、赞助款项是否支付给主办方、活动形式 |
| | | if(String.isNotBlank(String.valueOf(mam.ExpectedHcpAttendance__c))){ |
| | | url += '&00N1m00000652oT=' + mam.ExpectedHcpAttendance__c; |
| | | url += (NFMUtil.isSandbox() ? '&00N1m00000652oT=' : '&00N10000009HBY8=') + mam.ExpectedHcpAttendance__c; |
| | | } |
| | | if(String.isNotBlank(mam.SponsorshipCategory__c)){ |
| | | url += '&00N1m000006fdGn=' + mam.SponsorshipCategory__c; |
| | | url += (NFMUtil.isSandbox() ? '&00N1m000006fdGn=' : '&00N10000009HBYI=') + mam.SponsorshipCategory__c; |
| | | } |
| | | if(String.isNotBlank(mam.IsPaidToSponsor__c)){ |
| | | url += '&00N1m000006fcjJ=' + mam.IsPaidToSponsor__c; |
| | | url += (NFMUtil.isSandbox() ? '&00N1m000006fcjJ=' : '&00N10000009HBYN=') + mam.IsPaidToSponsor__c; |
| | | } |
| | | if(String.isNotBlank(mam.Type_of_adjudication_meeting__c)){ |
| | | url += '&00N1m00000652jY=' + mam.Type_of_adjudication_meeting__c; |
| | | url += (NFMUtil.isSandbox() ? '&00N1m00000652jY=' : '&00N10000009HBY3=') + mam.Type_of_adjudication_meeting__c; |
| | | } |
| | | } |
| | | // } |