From d2d33d9e10b6a68b84a43a1b970a94246ffdf801 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期三, 07 一月 2026 16:15:54 +0800
Subject: [PATCH] Merge branch 'master-where标签替换'

---
 smartor/src/main/resources/mapper/smartor/IvrLibIntentMapper.xml |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/IvrLibIntentMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrLibIntentMapper.xml
index 958ecb9..8757c92 100644
--- a/smartor/src/main/resources/mapper/smartor/IvrLibIntentMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/IvrLibIntentMapper.xml
@@ -27,7 +27,7 @@
 
     <select id="selectIvrLibIntentList" parameterType="IvrLibIntent" resultMap="IvrLibIntentResult">
         <include refid="selectIvrLibIntentVo"/>
-        <where>
+        where 1=1
             <if test="orgid != null  and orgid != ''"> and orgid = #{orgid}</if>
             <if test="intentionname != null  and intentionname != ''"> and intentionname like concat('%', #{intentionname}, '%')</if>
             <if test="categoryid != null "> and categoryid = #{categoryid}</if>
@@ -35,7 +35,6 @@
             <if test="intentionword != null  and intentionword != ''"> and intentionword = #{intentionword}</if>
             <if test="isupload != null "> and isupload = #{isupload}</if>
             <if test="uploadTime != null "> and upload_time = #{uploadTime}</if>
-        </where>
     </select>
 
     <select id="selectIvrLibIntentByIntentid" parameterType="Long" resultMap="IvrLibIntentResult">

--
Gitblit v1.9.3