From fd6dca0c559c08129b7e0abdf67093b1a728ffd3 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期五, 29 十一月 2024 17:21:00 +0800
Subject: [PATCH] 代码提交
---
smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetoptionMapper.xml | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetoptionMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetoptionMapper.xml
index 60f4695..ba14879 100644
--- a/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetoptionMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetoptionMapper.xml
@@ -36,11 +36,13 @@
<result property="appendflag" column="appendflag"/>
<result property="appenddesc" column="appenddesc"/>
<result property="picturePath" column="picture_path"/>
+ <result property="isEnd" column="is_end"/>
</resultMap>
<sql id="selectIvrLibaScriptTargetoptionVo">
select id,
targetid,
+ is_end,
picture_path,
targetname,
appendflag,
@@ -75,6 +77,7 @@
<if test="optiondesc != null and optiondesc != ''">and optiondesc = #{optiondesc}</if>
<if test="language != null and language != ''">and language = #{language}</if>
<if test="version != null ">and version = #{version}</if>
+ <if test="isEnd != null ">and is_end = #{isEnd}</if>
<if test="groupid != null and groupid != ''">and groupid = #{groupid}</if>
<if test="isabnormal != null ">and isabnormal = #{isabnormal}</if>
<if test="warnup != null ">and warnup = #{warnup}</if>
@@ -132,6 +135,7 @@
<if test="appendflag != null">appendflag,</if>
<if test="appenddesc != null">appenddesc,</if>
<if test="picturePath != null">picture_path,</if>
+ <if test="isEnd != null ">is_end,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id},</if>
@@ -165,6 +169,7 @@
<if test="appendflag != null">#{appendflag},</if>
<if test="appenddesc != null">#{appenddesc},</if>
<if test="picturePath != null">#{picturePath},</if>
+ <if test="isEnd != null ">#{isEnd},</if>
</trim>
</insert>
@@ -201,6 +206,16 @@
<if test="appendflag != null">appendflag = #{appendflag},</if>
<if test="appenddesc != null">appenddesc = #{appenddesc},</if>
<if test="picturePath != null">picture_path = #{picturePath},</if>
+ <if test="isEnd != null ">is_end = #{isEnd},</if>
+ </trim>
+ where id = #{id}
+ </update>
+
+ <update id="updateDynam" parameterType="com.smartor.domain.IvrLibaScriptTargetoption">
+ update ivr_liba_script_targetoption
+ <trim prefix="SET" suffixOverrides=",">
+ <if test="nodynamiccruxsJson == null ">nodynamiccruxs = "",</if>
+ <if test="dynamiccruxsJson == null ">dynamiccruxs = "",</if>
</trim>
where id = #{id}
</update>
--
Gitblit v1.9.3