陈昶聿
5 天以前 ec23ec3d3dc4ec1ba7d79ba4f46ae2c31d5a16a9
smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetMapper.xml
@@ -70,12 +70,13 @@
    <select id="selectIvrLibaScriptTargetList" parameterType="com.smartor.domain.IvrLibaScriptTarget"
            resultMap="IvrLibaScriptTargetResult">
        <include refid="selectIvrLibaScriptTargetVo"/>
        <where>
        WHERE 1=1
            <if test="scriptid != null ">and scriptid = #{scriptid}</if>
            <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},
                '%')
                AND '%')
            </if>
            <if test="targetValue != null  and targetValue != ''">and targetValue = #{targetValue}</if>
            <if test="basicRegex != null  and basicRegex != ''">and basicRegex = #{basicRegex}</if>
@@ -95,7 +96,7 @@
            <if test="warnup != null ">and warnup = #{warnup}</if>
            <if test="warndown != null">and warndown = #{warndown}</if>
            <if test="picturePath != null  and picturePath != ''">and picture_path = #{picturePath}</if>
        </where>
    </select>
    <select id="selectIvrLibaScriptTargetByQuestionTargetID" parameterType="String"