liusheng
2023-06-21 3acec3660921f22b58bdaa85d61a2fcfba8e6c98
smartor/src/main/resources/mapper/smartor/IvrLibaScriptMapper.xml
@@ -21,7 +21,7 @@
        <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"    />
@@ -41,7 +41,7 @@
    </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">
@@ -62,6 +62,8 @@
            <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>
@@ -100,7 +102,7 @@
            <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>
@@ -135,7 +137,7 @@
            <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>
@@ -173,7 +175,7 @@
            <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>