A.oc_id,
A.wf_def_id,
A.activity_def_id,
A.wf_ins_id,
A.activity_ins_id,
A.activity_ins_title,
A.activity_code,
A.form_code,
A.start_time,
A.end_time,
A.status,
A.group_id,
A.group_name,
A.position_id,
A.position_name,
A.account_id,
A.account_name,
A.activity_ins_from,
A.activity_ins_to
INSERT INTO wf_activity_ins
oc_id,
wf_def_id,
activity_def_id,
wf_ins_id,
activity_ins_id,
activity_ins_title,
activity_code,
form_code,
status,
group_id,
position_id,
account_id,
group_name,
position_name,
account_name,
start_time,
end_time,
activity_ins_from,
activity_ins_to,
created_by,
created_at,
#{ocId ,jdbcType=BIGINT},
#{wfDefId ,jdbcType=BIGINT},
#{activityDefId ,jdbcType=BIGINT},
#{wfInsId ,jdbcType=BIGINT},
#{activityInsId ,jdbcType=BIGINT},
#{activityInsTitle ,jdbcType=VARCHAR},
#{activityCode ,jdbcType=VARCHAR},
#{formCode ,jdbcType=VARCHAR},
#{status ,jdbcType=BIGINT},
#{groupId ,jdbcType=BIGINT},
#{positionId ,jdbcType=BIGINT},
#{accountId ,jdbcType=BIGINT},
#{groupName ,jdbcType=VARCHAR},
#{positionName ,jdbcType=VARCHAR},
#{accountName ,jdbcType=VARCHAR},
#{startTime ,jdbcType=DATE},
#{endTime ,jdbcType=DATE},
#{activityInsFrom ,jdbcType=BIGINT},
#{activityInsTo ,jdbcType=BIGINT},
#{createdBy ,jdbcType=BIGINT},
#{createdAt ,jdbcType=DATE},
UPDATE wf_activity_ins
activity_ins_title = #{activityTitle, jdbcType=VARCHAR},
form_code = #{formCode ,jdbcType=VARCHAR},
status = #{status ,jdbcType=BIGINT},
end_time = #{endTime ,jdbcType=DATE},
group_id = #{groupId ,jdbcType=BIGINT},
position_id = #{positionId ,jdbcType=BIGINT},
account_id = #{accountId ,jdbcType=BIGINT},
group_name = #{groupName ,jdbcType=VARCHAR},
position_name = #{positionName ,jdbcType=VARCHAR},
account_name = #{accountName ,jdbcType=VARCHAR},
activity_ins_from = #{activityInsFrom ,jdbcType=BIGINT},
activity_ins_to = #{activityInsTo ,jdbcType=BIGINT},
updated_by = #{updatedBy ,jdbcType=BIGINT},
updated_at = #{updatedAt ,jdbcType=DATE},
WHERE oc_id = #{ocId ,jdbcType=BIGINT}
AND wf_ins_id = #{wfInsId ,jdbcType=BIGINT}
AND activity_ins_id = #{activityInsId ,jdbcType=BIGINT}
UPDATE wf_activity_ins
deleted_flag = #{deletedFlag,jdbcType=BIGINT},
deleted_time = #{deletedTime,jdbcType=DATE},
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}