/*!mycat:sql= select tenantid from FORMDATAMANAGER WHERE TENANTID = '${tenantID}' AND FORMID = '${formID}' */
INSERT INTO process_task (
work_item_id,
process_def_id,
process_def_name,
process_ch_name,
version,
process_inst_id,
process_inst_name,
activity_inst_id,
activity_inst_name,
participant_id,
participant_name,
data_start,
app_id,
service_name,
comp_id,
company_name,
TENANTID,
tenant_name,
information,
limit_num,
directory_id,
directory_name,
open_id,
start_time,
process_inst_start_time
)
VALUES
(#{pro.workItemId},#{pro.processDefId},#{pro.processDefName},#{pro.processChName},
#{pro.version},#{pro.processInstId},#{pro.processInstName},
#{pro.activityInstId},#{pro.activityInstName},#{pro.participantId},
#{pro.participantName},#{pro.dataStart},#{pro.appId},#{pro.serviceName},
#{pro.compId},#{pro.companyName},#{pro.tenantId},#{pro.tenantName},#{pro.information},
#{pro.limitNum},#{pro.directoryId},#{pro.directoryName},#{pro.openId},
#{pro.startTime},#{pro.processInstStartTime})
DELETE from process_task