| | |
| | | /********************************************************************** |
| | | * @msg: |
| | | * 1.上传OBPM的数据里需要包含申请人和其他共有权限的人,但不需要区分 |
| | | * 2.传输时使用员工编号,多人时用逗号分隔 |
| | | *************************************************************************/ |
| | | public without sharing class NFM703Controller { |
| | | |
| | | private static final String LOG_TYPE = 'NFM703'; |
| | |
| | | public String WorkshopPlace; //会场地点=WorkshopPlace__c |
| | | public String HostName; //会议主办方=HostName__c |
| | | public String CooperatorCompany; //会议承办方=cooperatorCompany__c |
| | | public String SharedEditing; // 申请人+共同编辑人=Shared_Editing__c |
| | | } |
| | | @future(callout = true) |
| | | public static void callout(String iflog_Id, List < String > camIdList) { |
| | |
| | | Expected_Hcp_Attendance__c, |
| | | Activity_Type_Name__c, |
| | | HostName__c, |
| | | cooperatorCompany__c, |
| | | cooperatorCompany__c, |
| | | Owner.Employee_No__c, |
| | | IF_Approved__c from Campaign where id in: camIdList]; |
| | | String logstr = ' ' + 'NumberOfRecord=' + camList.size() + '\n'; |
| | | |
| | |
| | | ged.CooperatorCompany = cam.cooperatorCompany__c; |
| | | ged.ExpectedOlympusAttendance = String.valueOf(cam.Expected_Olympus_Attendance__c); |
| | | ged.ExpectedHcpAttendance = String.valueOf(cam.Expected_Hcp_Attendance__c); |
| | | // 暂时定义为主担当,后续添加其他共享人 |
| | | ged.SharedEditing = cam.Owner.Employee_No__c; |
| | | gds.GeData.add(ged); |
| | | |
| | | } |