陈昶聿
23 小时以前 93c9717bb5bba8230b7d168abf446159f20e432c
smartor/src/main/resources/mapper/smartor/IvrLibaTargetoptionMapper.xml
@@ -37,6 +37,7 @@
        <result property="picturePath" column="picture_path"/>
        <result property="prompt" column="prompt"/>
        <result property="isEnd" column="is_end"/>
        <result property="sortid" column="sortid"/>
    </resultMap>
    <sql id="selectIvrLibaTargetoptionVo">
@@ -54,7 +55,7 @@
               nodynamiccruxs,
               orderno,
               dynamiccruxs,
               optiondesc, language, version, groupid, isabnormal, warnup, warndown, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid
               optiondesc, language, version, groupid, isabnormal, warnup, warndown, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, sortid
        from ivr_liba_targetoption
    </sql>
@@ -90,7 +91,8 @@
            <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>
        order by guid asc
            <if test="sortid != null  and sortid != ''">and sortid = #{sortid}</if>
        order by guid asc, sortid asc
    </select>
    <select id="selectIvrLibaTargetoptionByTargetoptionid" parameterType="Long" resultMap="IvrLibaTargetoptionResult">
@@ -132,6 +134,7 @@
            <if test="appenddesc != null">appenddesc,</if>
            <if test="picturePath != null">picture_path,</if>
            <if test="isEnd != null ">is_end,</if>
            <if test="sortid != null and sortid != ''">sortid,</if>
        </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="targetid != null">#{targetid},</if>
@@ -164,6 +167,7 @@
            <if test="appenddesc != null">#{appenddesc},</if>
            <if test="picturePath != null">#{picturePath},</if>
            <if test="isEnd != null ">#{isEnd},</if>
            <if test="sortid != null and sortid != ''">#{sortid},</if>
        </trim>
    </insert>
@@ -200,6 +204,7 @@
            <if test="appenddesc != null">appenddesc = #{appenddesc},</if>
            <if test="picturePath != null">picture_path = #{picturePath},</if>
            <if test="isEnd != null ">is_end = #{isEnd},</if>
            <if test="sortid != null and sortid != ''">sortid = #{sortid},</if>
        </trim>
        where targetoptionid = #{targetoptionid}
    </update>