insert into nxdt_ii.pt_flow_process (definition_key, examine_name, examine_type, business_type,
examine_mark)
value (#{deployId}, #{flowName}, #{flowType}, #{flowBusinessType}, #{instructions})
insert into nxdt_ii.lk_pro_examine_configuration(pro_id, examine_id, business_type)
value (#{proId}, #{deployId}, #{flowBusinessType})
update nxdt_ii.pt_flow_process
set examine_name = #{flowName},
examine_type = #{flowType},
business_type = #{flowBusinessType},
examine_mark = #{instructions}
where definition_key = #{deployId}
delete from nxdt_ii.lk_pro_examine_configuration
where examine_id = #{deployId}
update nxdt_ii.pt_flow_process set is_active = '0' where definition_key = #{flowKey};
delete from nxdt_ii.lk_pro_examine_configuration where examine_id = #{flowKey}