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/IvrLibScriptmodelMapper.xml |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/IvrLibScriptmodelMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrLibScriptmodelMapper.xml
index 3e8809f..2ec08f6 100644
--- a/smartor/src/main/resources/mapper/smartor/IvrLibScriptmodelMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/IvrLibScriptmodelMapper.xml
@@ -34,7 +34,8 @@
 
     <select id="selectIvrLibScriptmodelList" parameterType="IvrLibScriptmodel" resultMap="IvrLibScriptmodelResult">
         <include refid="selectIvrLibScriptmodelVo"/>
-        <where>
+        WHERE 1=1
+
             <if test="orgid != null  and orgid != ''"> and orgid = #{orgid}</if>
             <if test="scriptid != null "> and scriptid = #{scriptid}</if>
             <if test="speaktype != null "> and speaktype = #{speaktype}</if>
@@ -49,7 +50,7 @@
             <if test="isupload != null "> and isupload = #{isupload}</if>
             <if test="uploadTime != null "> and upload_time = #{uploadTime}</if>
             <if test="speakvariable != null  and speakvariable != ''"> and speakvariable = #{speakvariable}</if>
-        </where>
+        
     </select>
 
     <select id="selectIvrLibScriptmodelByModelid" parameterType="Long" resultMap="IvrLibScriptmodelResult">

--
Gitblit v1.9.3