liusheng
2024-12-11 10aaa035f5be0312304d20f022bdb714a8f4900a
smartor/src/main/resources/mapper/smartor/IvrLibaTargetoptionMapper.xml
@@ -36,11 +36,13 @@
        <result property="appenddesc" column="appenddesc"/>
        <result property="picturePath" column="picture_path"/>
        <result property="prompt" column="prompt"/>
        <result property="isEnd" column="is_end"/>
    </resultMap>
    <sql id="selectIvrLibaTargetoptionVo">
        select targetoptionid,
               targetid,
               is_end,
               appendflag,
               picture_path,
               appenddesc,
@@ -87,6 +89,7 @@
            <if test="appendflag != null">and appendflag = #{appendflag}</if>
            <if test="appenddesc != null">and appenddesc = #{appenddesc}</if>
            <if test="picturePath != null">and picture_path = #{picturePath}</if>
            <if test="isEnd != null ">and is_end = #{isEnd}</if>
        </where>
        order by guid asc
    </select>
@@ -129,6 +132,7 @@
            <if test="appendflag != null">appendflag,</if>
            <if test="appenddesc != null">appenddesc,</if>
            <if test="picturePath != null">picture_path,</if>
            <if test="isEnd != null ">is_end,</if>
        </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="targetid != null">#{targetid},</if>
@@ -160,6 +164,7 @@
            <if test="appendflag != null">#{appendflag},</if>
            <if test="appenddesc != null">#{appenddesc},</if>
            <if test="picturePath != null">#{picturePath},</if>
            <if test="isEnd != null ">#{isEnd},</if>
        </trim>
    </insert>
@@ -195,6 +200,7 @@
            <if test="appendflag != null">appendflag = #{appendflag},</if>
            <if test="appenddesc != null">appenddesc = #{appenddesc},</if>
            <if test="picturePath != null">picture_path = #{picturePath},</if>
            <if test="isEnd != null ">is_end = #{isEnd},</if>
        </trim>
        where targetoptionid = #{targetoptionid}
    </update>