select id, oldid, value_type, reply, svyid, script_type, script_code, script, sort, ismandatory, ishide, del_flag, orgid, create_by, create_time, update_by, update_time, isupload, upload_time, tag, categoryid, script_content, suitway, isavailable, otherdata, language, svy_scriptid as svyscriptId from svy_lib_script insert into svy_lib_script oldid, svyid, script_type, script_code, script, sort, ismandatory, ishide, del_flag, orgid, create_by, create_time, update_by, update_time, isupload, upload_time, tag, svy_scriptid, categoryid, script_content, suitway, isavailable, language, otherdata, value_type, otherdata, #{oldid}, #{svyid}, #{scripttype}, #{scriptcode}, #{script}, #{sort}, #{ismandatory}, #{ishide}, #{delFlag}, #{orgid}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{isupload}, #{uploadTime}, #{tag}, #{svyscriptId}, #{categoryid}, #{scriptContent}, #{suitway}, #{isavailable}, #{language}, #{otherdata}, #{valueType}, #{therdata}, update svy_lib_script oldid = #{oldid}, svyid = #{svyid}, script_type = #{scripttype}, script_code = #{scriptcode}, script = #{script}, sort = #{sort}, ismandatory = #{ismandatory}, ishide = #{ishide}, del_flag = #{delFlag}, orgid = #{orgid}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, isupload = #{isupload}, upload_time = #{uploadTime}, categoryid = #{categoryid}, script_content = #{scriptContent}, suitway = #{suitway}, isavailable = #{isavailable}, tag = #{tag}, language = #{language}, otherdata = #{otherdata}, value_type = #{valueType}, therdata =#{therdata}, where id = #{id} update svy_lib_script del_flag =1, where id = #{id} delete from svy_lib_script where id in #{id}