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/IvrLibaTemplateTargetoptionMapper.xml | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/smartor/src/main/resources/mapper/smartor/IvrLibaTemplateTargetoptionMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrLibaTemplateTargetoptionMapper.xml index 8f8c705..a94d19a 100644 --- a/smartor/src/main/resources/mapper/smartor/IvrLibaTemplateTargetoptionMapper.xml +++ b/smartor/src/main/resources/mapper/smartor/IvrLibaTemplateTargetoptionMapper.xml @@ -35,11 +35,17 @@ <result property="nextQuestion" column="next_question"/> <result property="appendflag" column="appendflag"/> <result property="appenddesc" column="appenddesc"/> + <result property="optionNo" column="option_no"/> + <result property="score" column="score"/> + <result property="prompt" column="prompt"/> + <result property="isEnd" column="is_end"/> </resultMap> <sql id="selectIvrLibaTemplateTargetoptionVo"> select id, targetid, + is_end, + score, appendflag, appenddesc, scriptid, @@ -53,6 +59,7 @@ nodynamiccruxs, dynamiccruxs, targetid, + option_no, next_question, optiondesc, language, version, groupid, isabnormal, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid from ivr_liba_template_targetoption @@ -64,6 +71,8 @@ <where> del_flag=0 <if test="targetid != null ">and targetid = #{targetid}</if> + <if test="isEnd != null ">and is_end = #{isEnd}</if> + <if test="score != null ">and score = #{score}</if> <if test="targetname != null ">and targetname = #{targetname}</if> <if test="templateID != null ">and templateID = #{templateID}</if> <if test="scriptid != null ">and scriptid = #{scriptid}</if> @@ -88,6 +97,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="optionNo != null">and option_no = #{optionNo}</if> </where> </select> @@ -130,6 +140,9 @@ <if test="dynamiccruxsJson != null ">dynamiccruxs,</if> <if test="appendflag != null">appendflag,</if> <if test="appenddesc != null">appenddesc,</if> + <if test="optionNo != null">option_no,</if> + <if test="score != null">score,</if> + <if test="isEnd != null ">is_end,</if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="targetid != null">#{targetid},</if> @@ -161,6 +174,9 @@ <if test="dynamiccruxsJson != null ">#{dynamiccruxsJson},</if> <if test="appendflag != null">#{appendflag},</if> <if test="appenddesc != null">#{appenddesc},</if> + <if test="optionNo != null">#{optionNo},</if> + <if test="score != null">#{score},</if> + <if test="isEnd != null ">#{isEnd},</if> </trim> </insert> @@ -196,6 +212,20 @@ <if test="dynamiccruxsJson != null ">dynamiccruxs = #{dynamiccruxsJson},</if> <if test="appendflag != null">appendflag = #{appendflag},</if> <if test="appenddesc != null">appenddesc = #{appenddesc},</if> + <if test="optionNo != null">option_no = #{optionNo},</if> + <if test="score != null">score = #{score},</if> + <if test="isEnd != null ">is_end = #{isEnd},</if> + </trim> + where id = #{id} + </update> + + <update id="updateDynamiccruxs" parameterType="com.smartor.domain.IvrLibaTemplateTargetoption"> + update ivr_liba_template_targetoption + <trim prefix="SET" suffixOverrides=","> + + <if test="nodynamiccruxsJson == null ">nodynamiccruxs = #{nodynamiccruxsJson},</if> + <if test="dynamiccruxsJson == null ">dynamiccruxs = #{dynamiccruxsJson},</if> + </trim> where id = #{id} </update> -- Gitblit v1.9.3