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

diff --git a/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetoptionMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetoptionMapper.xml
index ba14879..7878f0a 100644
--- a/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetoptionMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetoptionMapper.xml
@@ -62,8 +62,8 @@
     <select id="selectIvrLibaScriptTargetoptionList" parameterType="com.smartor.domain.IvrLibaScriptTargetoption"
             resultMap="IvrLibaScriptTargetoptionResult">
         <include refid="selectIvrLibaScriptTargetoptionVo"/>
-        <where>
-            del_flag=0
+        where 1=1
+            and del_flag = 0
             <if test="targetid != null  and targetid != ''">and targetid = #{targetid}</if>
             <if test="targetname != null  and targetname != ''">and targetname = #{targetname}</if>
             <if test="scriptid != null ">and scriptid = #{scriptid}</if>
@@ -92,7 +92,6 @@
             <if test="appendflag != null">and appendflag = #{appendflag}</if>
             <if test="appenddesc != null">and appenddesc = #{appenddesc}</if>
             <if test="picturePath != null">and picture_path = #{picturePath}</if>
-        </where>
     </select>
 
     <select id="selectIvrLibaScriptTargetoptionByTargetoptionid" parameterType="String"

--
Gitblit v1.9.3