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/IvrSceneIntentMapper.xml | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/IvrSceneIntentMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrSceneIntentMapper.xml
index 13d6937..8e0f5ad 100644
--- a/smartor/src/main/resources/mapper/smartor/IvrSceneIntentMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/IvrSceneIntentMapper.xml
@@ -63,7 +63,7 @@
<select id="selectIvrSceneIntentList" parameterType="IvrSceneIntent" resultMap="IvrSceneIntentResult">
<include refid="selectIvrSceneIntentVo"/>
- <where>
+ WHERE 1=1
<if test="orgid != null and orgid != ''">and orgid = #{orgid}</if>
<if test="sourcetype != null ">and sourcetype = #{sourcetype}</if>
<if test="gbiconfigid != null ">and gbiconfigid = #{gbiconfigid}</if>
@@ -79,14 +79,13 @@
<if test="conditionstype != null ">and conditionstype = #{conditionstype}</if>
<if test="verifyrule != null and verifyrule != ''">and verifyrule = #{verifyrule}</if>
<if test="orand != null ">and orand = #{orand}</if>
- <if test="parentresultconditionsid != null and parentresultconditionsid != ''">and parentresultconditionsid
- = #{parentresultconditionsid}
+ <if test="parentresultconditionsid != null and parentresultconditionsid != ''">
+ and parentresultconditionsid = #{parentresultconditionsid}
</if>
<if test="groupnumber != null ">and groupnumber = #{groupnumber}</if>
<if test="grouporand != null ">and grouporand = #{grouporand}</if>
<if test="isupload != null ">and isupload = #{isupload}</if>
<if test="uploadTime != null ">and upload_time = #{uploadTime}</if>
- </where>
</select>
<select id="selectIvrSceneIntentBySceneintentid" parameterType="Long" resultMap="IvrSceneIntentResult">
--
Gitblit v1.9.3