liusheng
2023-12-22 52a0bf7637b725f0b6bf18a03962b0636f7074fb
smartor/src/main/resources/mapper/smartor/IvrLibaTargetoptionMapper.xml
@@ -45,6 +45,7 @@
            resultMap="IvrLibaTargetoptionResult">
        <include refid="selectIvrLibaTargetoptionVo"/>
        <where>
            del_flag != 1
            <if test="targetid != null ">and targetid = #{targetid}</if>
            <if test="targettype != null  and targettype != ''">and targettype = #{targettype}</if>
            <if test="categoryName != null  and categoryName != ''">and categoryName like concat('%', #{categoryName},
@@ -64,7 +65,9 @@
            <if test="orgid != null  and orgid != ''">and orgid = #{orgid}</if>
            <if test="pid != null ">and pid = #{pid}</if>
            <if test="guid != null  and guid != ''">and guid = #{guid}</if>
        </where>
        order by guid asc
    </select>
    <select id="selectIvrLibaTargetoptionByTargetoptionid" parameterType="Long" resultMap="IvrLibaTargetoptionResult">
@@ -155,8 +158,8 @@
    </update>
    <delete id="deleteIvrLibaTargetoptionByTargetoptionid" parameterType="Long">
        delete
        from ivr_liba_targetoption
        update ivr_liba_targetoption
        set del_flag = 1
        where targetoptionid = #{targetoptionid}
    </delete>