select id, uuid, phone, guid, operate, displayno, inbound, incoming, assigntime, starttime, answertime, silent, dtmf_key, musicpath, sentindex, sentbegin, asrtext, begintime, endtime, sentend, recordpath, recordurl, sceneid, taskrecordid, flowiid, flownodeid, corpustext, corpusvoice, intentvalue, matchedtext, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time from scheme_taskrecord_calldetail
    
    
    
    
        insert into scheme_taskrecord_calldetail
        
            uuid,
            phone,
            operate,
            displayno,
            inbound,
            incoming,
            assigntime,
            starttime,
            answertime,
            silent,
            dtmf_key,
            musicpath,
            sentindex,
            sentbegin,
            asrtext,
            begintime,
            endtime,
            sentend,
            recordpath,
            recordurl,
            sceneid,
            taskrecordid,
            flowiid,
            flownodeid,
            corpustext,
            corpusvoice,
            intentvalue,
            matchedtext,
            orgid,
            del_flag,
            update_by,
            update_time,
            create_by,
            create_time,
            isupload,
            upload_time,
            guid,
         
        
            #{uuid},
            #{phone},
            #{operate},
            #{displayno},
            #{inbound},
            #{incoming},
            #{assigntime},
            #{starttime},
            #{answertime},
            #{silent},
            #{dtmfKey},
            #{musicpath},
            #{sentindex},
            #{sentbegin},
            #{asrtext},
            #{begintime},
            #{endtime},
            #{sentend},
            #{recordpath},
            #{recordurl},
            #{sceneid},
            #{taskrecordid},
            #{flowiid},
            #{flownodeid},
            #{corpustext},
            #{corpusvoice},
            #{intentvalue},
            #{matchedtext},
            #{orgid},
            #{delFlag},
            #{updateBy},
            #{updateTime},
            #{createBy},
            #{createTime},
            #{isupload},
            #{uploadTime},
            #{guid},
         
    
    
        update scheme_taskrecord_calldetail
        
            uuid = #{uuid},
            phone = #{phone},
            operate = #{operate},
            displayno = #{displayno},
            inbound = #{inbound},
            incoming = #{incoming},
            assigntime = #{assigntime},
            starttime = #{starttime},
            answertime = #{answertime},
            silent = #{silent},
            dtmf_key = #{dtmfKey},
            musicpath = #{musicpath},
            sentindex = #{sentindex},
            sentbegin = #{sentbegin},
            asrtext = #{asrtext},
            begintime = #{begintime},
            endtime = #{endtime},
            sentend = #{sentend},
            recordpath = #{recordpath},
            recordurl = #{recordurl},
            sceneid = #{sceneid},
            taskrecordid = #{taskrecordid},
            flowiid = #{flowiid},
            flownodeid = #{flownodeid},
            corpustext = #{corpustext},
            corpusvoice = #{corpusvoice},
            intentvalue = #{intentvalue},
            matchedtext = #{matchedtext},
            orgid = #{orgid},
            del_flag = #{delFlag},
            update_by = #{updateBy},
            update_time = #{updateTime},
            create_by = #{createBy},
            create_time = #{createTime},
            isupload = #{isupload},
            upload_time = #{uploadTime},
            guid = #{guid},
        
        where id = #{id}
    
    
        delete from scheme_taskrecord_calldetail where id = #{id}
    
    
        delete from scheme_taskrecord_calldetail where id in
        
            #{id}