| | |
| | | <resultMap type="com.smartor.domain.IvrLibaScript" id="IvrLibaScriptResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="questiontitle" column="questiontitle"/> |
| | | <result property="questiontext" column="questiontext"/> |
| | | <result property="questionText" column="questionText"/> |
| | | <result property="questionvoice" column="questionvoice"/> |
| | | <result property="nomatchtext" column="nomatchtext"/> |
| | | <result property="nomatchvoice" column="nomatchvoice"/> |
| | |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | <result property="parameter" column="parameter"/> |
| | | <result property="otherdata" column="otherdata"/> |
| | | <result property="suitway" column="suitway"/> |
| | | <result property="isAvailable" column="isAvailable"/> |
| | | <result property="campus" column="campus"/> |
| | |
| | | questiontitle, |
| | | isenable, |
| | | isAvailable, |
| | | questiontext, |
| | | questionText, |
| | | questionvoice, |
| | | nomatchtext, |
| | | nomatchvoice, |
| | |
| | | targetid, |
| | | targetname, |
| | | tag, |
| | | targetoptions, language, remark, version, usestate, adduserid, addtime, modifyuserid, modifytime, assortid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, parameter |
| | | targetoptions, language, remark, version, usestate, adduserid, addtime, modifyuserid, modifytime, assortid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, otherdata |
| | | from ivr_liba_script |
| | | </sql> |
| | | |
| | |
| | | <if test="suitway != null and suitway != ''">and suitway = #{suitway}</if> |
| | | <if test="isAvailable != null and isAvailable != ''">and isAvailable = #{isAvailable}</if> |
| | | <if test="isenable != null ">and isenable = #{isenable}</if> |
| | | <if test="questiontext != null and questiontext != ''">and questiontext = #{questiontext}</if> |
| | | <if test="questionText != null and questionText != ''">and questionText = #{questionText}</if> |
| | | <if test="questionvoice != null and questionvoice != ''">and questionvoice = #{questionvoice}</if> |
| | | <if test="nomatchtext != null and nomatchtext != ''">and nomatchtext = #{nomatchtext}</if> |
| | | <if test="nomatchvoice != null and nomatchvoice != ''">and nomatchvoice = #{nomatchvoice}</if> |
| | |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | <if test="parameter != null and parameter != ''">and parameter = #{parameter}</if> |
| | | <if test="otherdata != null and otherdata != ''">and otherdata = #{otherdata}</if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | <if test="tag != null">tag,</if> |
| | | <if test="isAvailable != null">isAvailable,</if> |
| | | <if test="isenable != null">isenable,</if> |
| | | <if test="questiontext != null">questiontext,</if> |
| | | <if test="questionText != null">questionText,</if> |
| | | <if test="questionvoice != null">questionvoice,</if> |
| | | <if test="nomatchtext != null">nomatchtext,</if> |
| | | <if test="nomatchvoice != null">nomatchvoice,</if> |
| | |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | <if test="parameter != null">parameter,</if> |
| | | <if test="otherdata != null">otherdata,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="questiontitle != null">#{questiontitle},</if> |
| | |
| | | <if test="tag != null">#{tag},</if> |
| | | <if test="isAvailable != null">#{isAvailable},</if> |
| | | <if test="isenable != null">#{isenable},</if> |
| | | <if test="questiontext != null">#{questiontext},</if> |
| | | <if test="questionText != null">#{questionText},</if> |
| | | <if test="questionvoice != null">#{questionvoice},</if> |
| | | <if test="nomatchtext != null">#{nomatchtext},</if> |
| | | <if test="nomatchvoice != null">#{nomatchvoice},</if> |
| | |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | <if test="parameter != null">#{parameter},</if> |
| | | <if test="otherdata != null">#{otherdata},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="suitway != null">suitway = #{suitway},</if> |
| | | <if test="isAvailable != null">isAvailable = #{isAvailable},</if> |
| | | <if test="isenable != null">isenable = #{isenable},</if> |
| | | <if test="questiontext != null">questiontext = #{questiontext},</if> |
| | | <if test="questionText != null">questionText = #{questionText},</if> |
| | | <if test="questionvoice != null">questionvoice = #{questionvoice},</if> |
| | | <if test="nomatchtext != null">nomatchtext = #{nomatchtext},</if> |
| | | <if test="nomatchvoice != null">nomatchvoice = #{nomatchvoice},</if> |
| | |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | <if test="parameter != null">parameter = #{parameter},</if> |
| | | <if test="otherdata != null and otherdata != ''">otherdata = #{otherdata},</if> |
| | | <if test="deptNames != null">deptNames = #{deptNames},</if> |
| | | <if test="deptIds != null">deptIds = #{deptIds},</if> |
| | | <if test="campus != null">campus = #{campus},</if> |
| | |
| | | <update id="deleteIvrLibaScriptByQuestionid" parameterType="Integer"> |
| | | update ivr_liba_script |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1,</if> |
| | | del_flag = 1 |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |