From ec23ec3d3dc4ec1ba7d79ba4f46ae2c31d5a16a9 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期三, 07 一月 2026 10:49:10 +0800
Subject: [PATCH] 【市一】调整mapper获取ordid

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

diff --git a/smartor/src/main/resources/mapper/smartor/IvrSceneIntentMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrSceneIntentMapper.xml
index 13d6937..ad6a4e1 100644
--- a/smartor/src/main/resources/mapper/smartor/IvrSceneIntentMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/IvrSceneIntentMapper.xml
@@ -63,7 +63,8 @@
 
     <select id="selectIvrSceneIntentList" parameterType="IvrSceneIntent" resultMap="IvrSceneIntentResult">
         <include refid="selectIvrSceneIntentVo"/>
-        <where>
+        WHERE 1=1
+
             <if test="orgid != null  and orgid != ''">and orgid = #{orgid}</if>
             <if test="sourcetype != null ">and sourcetype = #{sourcetype}</if>
             <if test="gbiconfigid != null ">and gbiconfigid = #{gbiconfigid}</if>
@@ -80,13 +81,13 @@
             <if test="verifyrule != null  and verifyrule != ''">and verifyrule = #{verifyrule}</if>
             <if test="orand != null ">and orand = #{orand}</if>
             <if test="parentresultconditionsid != null  and parentresultconditionsid != ''">and parentresultconditionsid
-                = #{parentresultconditionsid}
+                AND = #{parentresultconditionsid}
             </if>
             <if test="groupnumber != null ">and groupnumber = #{groupnumber}</if>
             <if test="grouporand != null ">and grouporand = #{grouporand}</if>
             <if test="isupload != null ">and isupload = #{isupload}</if>
             <if test="uploadTime != null ">and upload_time = #{uploadTime}</if>
-        </where>
+        
     </select>
 
     <select id="selectIvrSceneIntentBySceneintentid" parameterType="Long" resultMap="IvrSceneIntentResult">

--
Gitblit v1.9.3