liusheng
2024-11-29 8d913e5594f45ca2a4ce656ea9feb99ffe715913
smartor/src/main/resources/mapper/smartor/IvrLibaTargetoptionMapper.xml
@@ -35,11 +35,14 @@
        <result property="appendflag" column="appendflag"/>
        <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,
@@ -86,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>
@@ -128,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>
@@ -159,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>
@@ -194,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>