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/IvrLibaTemplateScriptMapper.xml |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/IvrLibaTemplateScriptMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrLibaTemplateScriptMapper.xml
index 5ccafde..eb5a626 100644
--- a/smartor/src/main/resources/mapper/smartor/IvrLibaTemplateScriptMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/IvrLibaTemplateScriptMapper.xml
@@ -102,7 +102,6 @@
             resultMap="IvrLibaTemplateScriptResult">
         <include refid="selectIvrLibaTemplateScriptVo"/>
         WHERE 1=1
-
             AND del_flag=0
             <if test="scriptno != null ">and scriptno = #{scriptno}</if>
             <if test="assortid != null ">and assortid = #{assortid}</if>
@@ -126,12 +125,11 @@
             <if test="branchNextscriptno != null  and branchNextscriptno != ''">and branch_nextscriptno =
                 #{branchNextscriptno}
             </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="scriptTopic != null  and scriptTopic != ''">and script_topic like concat('%',
-                #{scriptTopic},
-                AND '%')
+            <if test="scriptTopic != null  and scriptTopic != ''">
+                and script_topic like concat('%',#{scriptTopic},'%')
             </if>
             <if test="playWavOnly != null ">and playWavOnly = #{playWavOnly}</if>
             <if test="valueType != null ">and value_type = #{valueType}</if>
@@ -146,7 +144,6 @@
             <if test="scriptType != null">and script_type = #{scriptType}</if>
             <if test="sort != null">and sort = #{sort}</if>
             <if test="score != null">and score = #{score}</if>
-        
     </select>
 
     <select id="selectIvrLibaTemplateScriptByID" parameterType="Long" resultMap="IvrLibaTemplateScriptResult">

--
Gitblit v1.9.3