liusheng
2024-07-04 a5e17e09ce2426ceca8362248bb5e46605bd35d6
smartor/src/main/resources/mapper/smartor/IvrLibaScriptMapper.xml
@@ -49,11 +49,13 @@
        <result property="tag" column="tag"/>
        <result property="valueType" column="value_type"/>
        <result property="reply" column="reply"/>
        <result property="targetdesc" column="targetdesc"/>
    </resultMap>
    <sql id="selectIvrLibaScriptVo">
        select id,
               suitway,
               targetdesc,
               campus,
               deptNames,
               deptIds,
@@ -176,6 +178,7 @@
            <if test="otherdata != null">otherdata,</if>
            <if test="valueType != null">value_type,</if>
            <if test="reply != null">reply,</if>
            <if test="targetdesc != null">targetdesc,</if>
        </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="questiontitle != null">#{questiontitle},</if>
@@ -222,6 +225,7 @@
            <if test="otherdata != null">#{otherdata},</if>
            <if test="valueType != null">#{valueType},</if>
            <if test="reply != null">#{reply},</if>
            <if test="targetdesc != null">#{targetdesc},</if>
        </trim>
    </insert>
@@ -273,6 +277,7 @@
            <if test="tag != null">tag = #{tag},</if>
            <if test="valueType != null">value_type = #{valueType},</if>
            <if test="reply != null">reply = #{reply},</if>
            <if test="targetdesc != null">targetdesc = #{targetdesc},</if>
        </trim>
        where id = #{id}
    </update>