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 | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetMapper.xml
index 62e59ce..df37b8e 100644
--- a/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetMapper.xml
@@ -70,12 +70,12 @@
<select id="selectIvrLibaScriptTargetList" parameterType="com.smartor.domain.IvrLibaScriptTarget"
resultMap="IvrLibaScriptTargetResult">
<include refid="selectIvrLibaScriptTargetVo"/>
- <where>
+ 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},
- '%')
+ <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>
@@ -95,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>
- </where>
</select>
<select id="selectIvrLibaScriptTargetByQuestionTargetID" parameterType="String"
--
Gitblit v1.9.3