select scenescrid, orgid, guid,sourcetype, globalid, sceneid, flowid, flownodeid, templateid, speakbody, speakfilepath, speakname, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time from ivr_scene_script
    
    
    
    
        insert into ivr_scene_script
        
            orgid,
            sourcetype,
            globalid,
            sceneid,
            flowid,
            flownodeid,
            templateid,
            speakbody,
            speakfilepath,
            speakname,
            del_flag,
            update_by,
            update_time,
            create_by,
            create_time,
            isupload,
            upload_time,
            guid,
         
        
            #{orgid},
            #{sourcetype},
            #{globalid},
            #{sceneid},
            #{flowid},
            #{flownodeid},
            #{templateid},
            #{speakbody},
            #{speakfilepath},
            #{speakname},
            #{delFlag},
            #{updateBy},
            #{updateTime},
            #{createBy},
            #{createTime},
            #{isupload},
            #{uploadTime},
            #{guid},
         
    
    
        update ivr_scene_script
        
            orgid = #{orgid},
            sourcetype = #{sourcetype},
            globalid = #{globalid},
            sceneid = #{sceneid},
            flowid = #{flowid},
            flownodeid = #{flownodeid},
            templateid = #{templateid},
            speakbody = #{speakbody},
            speakfilepath = #{speakfilepath},
            speakname = #{speakname},
            del_flag = #{delFlag},
            update_by = #{updateBy},
            update_time = #{updateTime},
            create_by = #{createBy},
            create_time = #{createTime},
            isupload = #{isupload},
            upload_time = #{uploadTime},
        
        where scenescrid = #{scenescrid}
    
    
        delete from ivr_scene_script where scenescrid = #{scenescrid}
    
    
        delete from ivr_scene_script where scenescrid in
        
            #{scenescrid}