陈昶聿
5 天以前 987e38327f849e1b13d8541246dde08d877db0e8
smartor/src/main/resources/mapper/smartor/IvrLibaTemplateMapper.xml
@@ -71,10 +71,10 @@
    <select id="selectIvrLibaTemplateList" parameterType="com.smartor.domain.IvrLibaTemplate"
            resultMap="IvrLibaTemplateResult">
        <include refid="selectIvrLibaTemplateVo"/>
        <where>
            del_flag=0
            <if test="templateName != null  and templateName != ''">and templateName like concat('%', #{templateName},
                '%')
        WHERE 1=1
            AND del_flag=0
            <if test="templateName != null  and templateName != ''">
                and templateName like concat('%', #{templateName},'%')
            </if>
            <if test="id != null ">and id = #{id}</if>
            <if test="sendDay != null ">and send_day = #{sendDay}</if>
@@ -112,7 +112,6 @@
            <if test="noVoiceNum != null and noVoiceNum > 0">and no_voice_num = #{noVoiceNum}</if>
            <if test="silencetime != null">and silencetime = #{silencetime}</if>
            <if test="deptCode != null">and dept_code = #{deptCode}</if>
        </where>
    </select>
    <select id="selectIvrLibaTemplateByID" parameterType="Long" resultMap="IvrLibaTemplateResult">