| | |
| | | <result property="categoryname" column="categoryname" /> |
| | | <result property="targetoptions" column="targetoptions" /> |
| | | <result property="language" column="language" /> |
| | | <result property="description" column="description" /> |
| | | <result property="note" column="note" /> |
| | | <result property="version" column="version" /> |
| | | <result property="isenable" column="isenable" /> |
| | | <result property="isdel" column="isdel" /> |
| | |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaScriptVo"> |
| | | select questionid, questionpoint, questiontext, questionvoice, nomatchtext, nomatchvoice, sliencetext, sliencevoice, submoduletext, submodulevoice, noclearlytext, noclearlyvoice, questiontype, categoryname, targetoptions, language, description, version, isenable, isdel, adduserid, addtime, modifyuserid, modifytime, groupid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid from ivr_liba_script |
| | | select questionid, questionpoint, questiontext, questionvoice, nomatchtext, nomatchvoice, sliencetext, sliencevoice, submoduletext, submodulevoice, noclearlytext, noclearlyvoice, questiontype, categoryname, targetoptions, language, note, version, isenable, isdel, adduserid, addtime, modifyuserid, modifytime, groupid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid from ivr_liba_script |
| | | </sql> |
| | | |
| | | <select id="selectIvrLibaScriptList" parameterType="IvrLibaScript" resultMap="IvrLibaScriptResult"> |
| | |
| | | <if test="categoryname != null and categoryname != ''"> and categoryname like concat('%', #{categoryname}, '%')</if> |
| | | <if test="targetoptions != null and targetoptions != ''"> and targetoptions = #{targetoptions}</if> |
| | | <if test="language != null and language != ''"> and language = #{language}</if> |
| | | |
| | | <if test="note != null and note != ''"> and note = #{note}</if> |
| | | <if test="version != null "> and version = #{version}</if> |
| | | <if test="isenable != null "> and isenable = #{isenable}</if> |
| | | <if test="isdel != null "> and isdel = #{isdel}</if> |
| | |
| | | <if test="categoryname != null">categoryname,</if> |
| | | <if test="targetoptions != null">targetoptions,</if> |
| | | <if test="language != null">language,</if> |
| | | <if test="description != null">description,</if> |
| | | <if test="note != null">note,</if> |
| | | <if test="version != null">version,</if> |
| | | <if test="isenable != null">isenable,</if> |
| | | <if test="isdel != null">isdel,</if> |
| | |
| | | <if test="categoryname != null">#{categoryname},</if> |
| | | <if test="targetoptions != null">#{targetoptions},</if> |
| | | <if test="language != null">#{language},</if> |
| | | <if test="description != null">#{description},</if> |
| | | <if test="note != null">#{note},</if> |
| | | <if test="version != null">#{version},</if> |
| | | <if test="isenable != null">#{isenable},</if> |
| | | <if test="isdel != null">#{isdel},</if> |
| | |
| | | <if test="categoryname != null">categoryname = #{categoryname},</if> |
| | | <if test="targetoptions != null">targetoptions = #{targetoptions},</if> |
| | | <if test="language != null">language = #{language},</if> |
| | | <if test="description != null">description = #{description},</if> |
| | | <if test="note != null">note = #{note},</if> |
| | | <if test="version != null">version = #{version},</if> |
| | | <if test="isenable != null">isenable = #{isenable},</if> |
| | | <if test="isdel != null">isdel = #{isdel},</if> |