A.wf_def_id,
A.wf_ins_id,
A.activity_def_id,
A.activity_ins_id,
B.activity_ins_title,
B.activity_ins_from,
B.activity_ins_to,
B.activity_code,
A.action_ins_id,
A.action_id,
A.action_title,
A.action_remark,
A.action_code,
A.form_code,
A.action_result,
A.target_activity_ins_id,
A.action_time,
A.group_id,
A.group_name,
A.position_id,
A.position_name,
A.account_id,
A.account_name
INSERT INTO wf_activity_action_ins
oc_id,
wf_def_id,
activity_def_id,
wf_ins_id,
activity_ins_id,
action_ins_id,
action_id,
action_title,
action_remark,
action_code,
form_code,
action_result,
target_activity_ins_id,
action_time,
group_id,
position_id,
account_id,
group_name,
position_name,
account_name,
created_by,
created_at,
#{ocId ,jdbcType=BIGINT},
#{wfDefId ,jdbcType=BIGINT},
#{activityDefId ,jdbcType=BIGINT},
#{wfInsId ,jdbcType=BIGINT},
#{activityInsId ,jdbcType=BIGINT},
#{actionInsId ,jdbcType=BIGINT},
#{actionId ,jdbcType=BIGINT},
#{actionTitle ,jdbcType=VARCHAR},
#{actionRemark ,jdbcType=VARCHAR},
#{actionCode ,jdbcType=VARCHAR},
#{formCode ,jdbcType=VARCHAR},
#{actionResult ,jdbcType=VARCHAR},
#{targetActivityInsId ,jdbcType=BIGINT},
#{actionTime ,jdbcType=TIMESTAMP},
#{groupId ,jdbcType=BIGINT},
#{positionId ,jdbcType=BIGINT},
#{accountId ,jdbcType=BIGINT},
#{groupName ,jdbcType=VARCHAR},
#{positionName ,jdbcType=VARCHAR},
#{accountName ,jdbcType=VARCHAR},
#{createdBy ,jdbcType=BIGINT},
#{createdAt ,jdbcType=TIMESTAMP},
UPDATE wf_activity_action_ins
action_title = #{actionTitle ,jdbcType=VARCHAR},
action_desc = #{actionDesc ,jdbcType=VARCHAR},
action_code = #{actionCode ,jdbcType=VARCHAR},
form_code = #{formCode ,jdbcType=VARCHAR},
action_result = #{actionResult ,jdbcType=VARCHAR},
targetActivityInsId = #{targetActivityInsId ,jdbcType=BIGINT},
WHERE oc_id = #{ocId ,jdbcType=BIGINT}
AND wf_ins_id = #{wfInsId, jdbcType=BIGINT}
AND activity_ins_id = #{activityInsId, jdbcType=BIGINT}
AND action_ins_id = #{actionInsId, jdbcType=BIGINT}
UPDATE wf_activity_action_ins
deleted_flag = #{deletedFlag,jdbcType=BIGINT},
deleted_time = #{deletedTime,jdbcType=VARCHAR},
deleted_by = #{deletedBy,jdbcType=BIGINT},
WHERE oc_id = #{ocId ,jdbcType=BIGINT}
AND wf_ins_id = #{wfInsId ,jdbcType=BIGINT}
AND activity_ins_id = #{activityInsId ,jdbcType=BIGINT}
AND action_ins_id = #{actionInsId ,jdbcType=BIGINT}