select id, scoretype, targetid, targetname, targettype, targetoptions, score, value_type, reply, script_type, script_code, script_desc, script_topic, sort, ismandatory, ishide, del_flag, orgid, create_by, create_time, update_by, update_time, isupload, upload_time, categoryid, script_content, suitway, isavailable, otherdata, picture_path, language, guid, icd10_name from svy_lib_script insert into svy_lib_script script_type, script_code, script_desc, sort, ismandatory, ishide, del_flag, orgid, create_by, create_time, update_by, update_time, isupload, upload_time, categoryid, script_content, suitway, isavailable, language, otherdata, value_type, otherdata, scoretype, score, icd10_name, picture_path, script_topic, targetid, targetname, targettype, targetoptions, guid, #{scriptType}, #{scriptcode}, #{scriptDesc}, #{sort}, #{ismandatory}, #{ishide}, #{delFlag}, #{orgid}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{isupload}, #{uploadTime}, #{categoryid}, #{scriptContent}, #{suitway}, #{isavailable}, #{language}, #{otherdata}, #{valueType}, #{therdata}, #{scoretype}, #{score}, #{icd10Name}, #{picturePath}, #{scriptTopic}, #{targetid}, #{targetname}, #{targettype}, #{targetoptions}, #{guid}, update svy_lib_script script_type = #{scriptType}, script_code = #{scriptcode}, script_desc = #{scriptDesc}, 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}, language = #{language}, otherdata = #{otherdata}, value_type = #{valueType}, therdata =#{therdata}, scoretype = #{scoretype}, score = #{score}, icd10_name = #{icd10Name}, picture_path = #{picturePath}, script_topic = #{scriptTopic}, targetid = #{targetid}, targetname = #{targetname}, targettype = #{targettype}, targetoptions = #{targetoptions}, where id = #{id} update svy_lib_script del_flag =1, where id = #{id} delete from svy_lib_script where id in #{id}