select modelid, guid,orgid, scriptid, speaktype, speakbody, voicetype, speakfilepath, manufactor, soundtype, speechnum, pitch, volume, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, speakvariable from ivr_lib_scriptmodel
    
    
    
    
        insert into ivr_lib_scriptmodel
        
            orgid,
            scriptid,
            speaktype,
            speakbody,
            voicetype,
            speakfilepath,
            manufactor,
            soundtype,
            speechnum,
            pitch,
            volume,
            del_flag,
            update_by,
            update_time,
            create_by,
            create_time,
            isupload,
            upload_time,
            speakvariable,
            guid,
         
        
            #{orgid},
            #{scriptid},
            #{speaktype},
            #{speakbody},
            #{voicetype},
            #{speakfilepath},
            #{manufactor},
            #{soundtype},
            #{speechnum},
            #{pitch},
            #{volume},
            #{delFlag},
            #{updateBy},
            #{updateTime},
            #{createBy},
            #{createTime},
            #{isupload},
            #{uploadTime},
            #{speakvariable},
            #{guid},
         
    
    
        update ivr_lib_scriptmodel
        
            orgid = #{orgid},
            scriptid = #{scriptid},
            speaktype = #{speaktype},
            speakbody = #{speakbody},
            voicetype = #{voicetype},
            speakfilepath = #{speakfilepath},
            manufactor = #{manufactor},
            soundtype = #{soundtype},
            speechnum = #{speechnum},
            pitch = #{pitch},
            volume = #{volume},
            del_flag = #{delFlag},
            update_by = #{updateBy},
            update_time = #{updateTime},
            create_by = #{createBy},
            create_time = #{createTime},
            isupload = #{isupload},
            upload_time = #{uploadTime},
            speakvariable = #{speakvariable},
            guid = #{guid},
        
        where modelid = #{modelid}
    
    
        delete from ivr_lib_scriptmodel where modelid = #{modelid}
    
    
        delete from ivr_lib_scriptmodel where modelid in
        
            #{modelid}