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

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

diff --git a/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetMapper.xml
index 24bebec..df37b8e 100644
--- a/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetMapper.xml
@@ -71,12 +71,11 @@
             resultMap="IvrLibaScriptTargetResult">
         <include refid="selectIvrLibaScriptTargetVo"/>
         WHERE 1=1
-
             <if test="scriptid != null ">and scriptid = #{scriptid}</if>
             <if test="targetID != null ">and targetID = #{targetID}</if>
             <if test="targetType != null  and targetType != ''">and targetType = #{targetType}</if>
-            <if test="categoryName != null  and categoryName != ''">and categoryName like concat('%', #{categoryName},
-                AND '%')
+            <if test="categoryName != null  and categoryName != ''">
+                and categoryName like concat('%', #{categoryName},'%')
             </if>
             <if test="targetValue != null  and targetValue != ''">and targetValue = #{targetValue}</if>
             <if test="basicRegex != null  and basicRegex != ''">and basicRegex = #{basicRegex}</if>
@@ -96,7 +95,6 @@
             <if test="warnup != null ">and warnup = #{warnup}</if>
             <if test="warndown != null">and warndown = #{warndown}</if>
             <if test="picturePath != null  and picturePath != ''">and picture_path = #{picturePath}</if>
-        
     </select>
 
     <select id="selectIvrLibaScriptTargetByQuestionTargetID" parameterType="String"

--
Gitblit v1.9.3