liusheng
2024-03-06 c92523467edf0306bad25f141faa5fcb56da8806
smartor/src/main/resources/mapper/smartor/IvrLibaScriptMapper.xml
@@ -7,7 +7,7 @@
    <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"/>
@@ -58,7 +58,7 @@
               questiontitle,
               isenable,
               isAvailable,
               questiontext,
               questionText,
               questionvoice,
               nomatchtext,
               nomatchvoice,
@@ -89,7 +89,7 @@
            <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>
@@ -137,7 +137,7 @@
            <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>
@@ -181,7 +181,7 @@
            <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>
@@ -225,7 +225,7 @@
            <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>
@@ -270,7 +270,7 @@
    <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>