feat:コールのカラム追加による、ストアドプロシージャーの修正
This commit is contained in:
parent
a127f3e541
commit
2860614d2d
@ -84,7 +84,7 @@ SET @upsert_statement_base =
|
||||
MSJ_SIPAGL_comment__c, MSJ_SIPAGL_4B__c, MSJ_SIPAGL_5B__c, Location_Text_vod__c, Call_Channel_vod__c,
|
||||
MSJ_Scientific_Interaction__c, MSJ_Activity_Email_Reply__c, MSJ_Interaction_Duration__c, MSJ_SIPAGL_1A_date__c,
|
||||
MSJ_CoPromotion__c, Call_Channel_Formula_vod__c, Meeting_Request_vod__c, Phone_vod__c, Detail_Section_Attribute_vod__c, Remote_Meeting_Type_vod__c,
|
||||
file_name, file_row_cnt, delete_flg, ins_user, ins_date, upd_user, upd_date)
|
||||
MSJ_SIPAGL_6__c,file_name, file_row_cnt, delete_flg, ins_user, ins_date, upd_user, upd_date)
|
||||
SELECT
|
||||
Id, OwnerId, IsDeleted, Name, RecordTypeId, CreatedDate, CreatedById, LastModifiedDate, LastModifiedById,
|
||||
SystemModstamp, LastActivityDate, MayEdit, IsLocked, LastViewedDate, LastReferencedDate, Call_Comments_vod__c,
|
||||
@ -130,7 +130,7 @@ SET @upsert_statement_base =
|
||||
MSJ_SIPAGL_comment__c, MSJ_SIPAGL_4B__c, MSJ_SIPAGL_5B__c, Location_Text_vod__c, Call_Channel_vod__c,
|
||||
MSJ_Scientific_Interaction__c, MSJ_Activity_Email_Reply__c, MSJ_Interaction_Duration__c, MSJ_SIPAGL_1A_date__c,
|
||||
MSJ_CoPromotion__c, Call_Channel_Formula_vod__c, Meeting_Request_vod__c, Phone_vod__c, Detail_Section_Attribute_vod__c, Remote_Meeting_Type_vod__c,
|
||||
file_name, file_row_cnt, delete_flg, ins_user, ins_date, upd_user, upd_date
|
||||
MSJ_SIPAGL_6__c,file_name, file_row_cnt, delete_flg, ins_user, ins_date, upd_user, upd_date
|
||||
FROM
|
||||
internal02.crm_Call2_vod__c AS internaltb
|
||||
WHERE
|
||||
@ -246,7 +246,7 @@ SET @upsert_statement_base =
|
||||
Call_Channel_Formula_vod__c = internaltb.Call_Channel_Formula_vod__c,
|
||||
Meeting_Request_vod__c = internaltb.Meeting_Request_vod__c, Phone_vod__c = internaltb.Phone_vod__c,
|
||||
Detail_Section_Attribute_vod__c = internaltb.Detail_Section_Attribute_vod__c, Remote_Meeting_Type_vod__c = internaltb.Remote_Meeting_Type_vod__c,
|
||||
file_name = internaltb.file_name, file_row_cnt = internaltb.file_row_cnt,
|
||||
MSJ_SIPAGL_6__c = internaltb.MSJ_SIPAGL_6__c,file_name = internaltb.file_name, file_row_cnt = internaltb.file_row_cnt,
|
||||
upd_user = CURRENT_USER(), upd_date = CURRENT_TIMESTAMP();';
|
||||
|
||||
OPEN table_cursor;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user