From 10aaa035f5be0312304d20f022bdb714a8f4900a Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期三, 11 十二月 2024 22:16:23 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetoptionMapper.xml | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetoptionMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetoptionMapper.xml index f6e578a..ba14879 100644 --- a/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetoptionMapper.xml +++ b/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetoptionMapper.xml @@ -35,11 +35,15 @@ <result property="dynamiccruxsJson" column="dynamiccruxs"/> <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, appenddesc, @@ -73,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> @@ -86,6 +91,7 @@ <if test="dynamiccruxsJson != null ">and dynamiccruxs = #{dynamiccruxsJson}</if> <if test="appendflag != null">and appendflag = #{appendflag}</if> <if test="appenddesc != null">and appenddesc = #{appenddesc}</if> + <if test="picturePath != null">and picture_path = #{picturePath}</if> </where> </select> @@ -128,6 +134,8 @@ <if test="dynamiccruxsJson != null ">dynamiccruxs,</if> <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> @@ -160,6 +168,8 @@ <if test="dynamiccruxsJson != null ">#{dynamiccruxsJson},</if> <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> @@ -195,6 +205,17 @@ <if test="dynamiccruxsJson != null ">dynamiccruxs = #{dynamiccruxsJson},</if> <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