select approval_info_id, approval_config_id, approval_config_group_id, node_type, form_id, form_type, user_id, founder, launch_time, end_state, end_time, object_id, process_progress, record_node_history, del_flag from cs_approval_info insert into cs_approval_info approval_info_id, approval_config_id, approval_config_group_id, node_type, form_id, form_type, user_id, founder, launch_time, end_state, end_time, object_id, process_progress, record_node_history, #{approvalInfoId}, #{approvalConfigId}, #{approvalConfigGroupId}, #{nodeType}, #{formId}, #{formType}, #{userId}, #{founder}, #{launchTime}, #{endState}, #{endTime}, #{objectId}, #{processProgress}, #{recordNodeHistory}, update cs_approval_info approval_config_id = #{approvalConfigId}, approval_config_group_id = #{approvalConfigGroupId}, node_type = #{nodeType}, form_id = #{formId}, user_id = #{userId}, form_type = #{formType}, founder = #{founder}, launch_time = #{launchTime}, end_state = #{endState}, end_time = #{endTime}, object_id = #{objectId}, process_progress = #{processProgress}, record_node_history = #{recordNodeHistory}, where approval_info_id = #{approvalInfoId} update cs_approval_info set del_flag = '1' where approval_info_id = #{approvalInfoId} update cs_approval_info set del_flag = '1' where approval_info_id in #{approvalInfoId} update cs_approval_info set del_flag = '1' where del_flag = '0' and form_id = #{formId} and form_type = #{formType} update cs_approval_info set del_flag = '1' where del_flag = '0' and form_id = #{formId} update cs_approval_info set del_flag = '1' where del_flag = '0' and approval_config_id = #{approvalConfigId} delete from cs_approval_info where approval_config_id in #{item.approvalConfigId}