From b220383758021bcb26d0a788ebe9a31795d23b6d Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期五, 26 四月 2024 09:41:57 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/resources/mapper/smartor/IvrLibaScriptMapper.xml | 36 +++++++++++++++++++++++------------- 1 files changed, 23 insertions(+), 13 deletions(-) diff --git a/smartor/src/main/resources/mapper/smartor/IvrLibaScriptMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrLibaScriptMapper.xml index 231ff66..e844931 100644 --- a/smartor/src/main/resources/mapper/smartor/IvrLibaScriptMapper.xml +++ b/smartor/src/main/resources/mapper/smartor/IvrLibaScriptMapper.xml @@ -7,7 +7,7 @@ <resultMap type="com.smartor.domain.IvrLibaScript" id="IvrLibaScriptResult"> <result property="id" column="id"/> <result property="questiontitle" column="questiontitle"/> - <result property="questiontext" column="questiontext"/> + <result property="questionText" column="questionText"/> <result property="questionvoice" column="questionvoice"/> <result property="nomatchtext" column="nomatchtext"/> <result property="nomatchvoice" column="nomatchvoice"/> @@ -47,6 +47,8 @@ <result property="deptNames" column="deptNames"/> <result property="deptIds" column="deptIds"/> <result property="tag" column="tag"/> + <result property="valueType" column="value_type"/> + <result property="reply" column="reply"/> </resultMap> <sql id="selectIvrLibaScriptVo"> @@ -56,9 +58,10 @@ deptNames, deptIds, questiontitle, - isenable, + value_type, + reply, isAvailable, - questiontext, + questionText, questionvoice, nomatchtext, nomatchvoice, @@ -88,8 +91,8 @@ <if test="tag != null and tag != ''">and tag = #{tag}</if> <if test="suitway != null and suitway != ''">and suitway = #{suitway}</if> <if test="isAvailable != null and isAvailable != ''">and isAvailable = #{isAvailable}</if> - <if test="isenable != null ">and isenable = #{isenable}</if> - <if test="questiontext != null and questiontext != ''">and questiontext = #{questiontext}</if> + <if test="valueType != null ">and value_type = #{valueType}</if> + <if test="questionText != null and questionText != ''">and questionText = #{questionText}</if> <if test="questionvoice != null and questionvoice != ''">and questionvoice = #{questionvoice}</if> <if test="nomatchtext != null and nomatchtext != ''">and nomatchtext = #{nomatchtext}</if> <if test="nomatchvoice != null and nomatchvoice != ''">and nomatchvoice = #{nomatchvoice}</if> @@ -136,8 +139,8 @@ <if test="deptNames != null">deptNames,</if> <if test="tag != null">tag,</if> <if test="isAvailable != null">isAvailable,</if> - <if test="isenable != null">isenable,</if> - <if test="questiontext != null">questiontext,</if> + <if test="reply != null">reply,</if> + <if test="questionText != null">questionText,</if> <if test="questionvoice != null">questionvoice,</if> <if test="nomatchtext != null">nomatchtext,</if> <if test="nomatchvoice != null">nomatchvoice,</if> @@ -171,6 +174,8 @@ <if test="pid != null">pid,</if> <if test="guid != null">guid,</if> <if test="otherdata != null">otherdata,</if> + <if test="valueType != null">value_type,</if> + <if test="reply != null">reply,</if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="questiontitle != null">#{questiontitle},</if> @@ -180,8 +185,8 @@ <if test="deptNames != null">#{deptNames},</if> <if test="tag != null">#{tag},</if> <if test="isAvailable != null">#{isAvailable},</if> - <if test="isenable != null">#{isenable},</if> - <if test="questiontext != null">#{questiontext},</if> + <if test="reply != null">#{reply},</if> + <if test="questionText != null">#{questionText},</if> <if test="questionvoice != null">#{questionvoice},</if> <if test="nomatchtext != null">#{nomatchtext},</if> <if test="nomatchvoice != null">#{nomatchvoice},</if> @@ -215,6 +220,8 @@ <if test="pid != null">#{pid},</if> <if test="guid != null">#{guid},</if> <if test="otherdata != null">#{otherdata},</if> + <if test="valueType != null">#{valueType},</if> + <if test="reply != null">#{reply},</if> </trim> </insert> @@ -224,8 +231,9 @@ <if test="questiontitle != null">questiontitle = #{questiontitle},</if> <if test="suitway != null">suitway = #{suitway},</if> <if test="isAvailable != null">isAvailable = #{isAvailable},</if> - <if test="isenable != null">isenable = #{isenable},</if> - <if test="questiontext != null">questiontext = #{questiontext},</if> + <if test="valueType != null">value_type = #{valueType},</if> + <if test="reply != null">reply = #{reply},</if> + <if test="questionText != null">questionText = #{questionText},</if> <if test="questionvoice != null">questionvoice = #{questionvoice},</if> <if test="nomatchtext != null">nomatchtext = #{nomatchtext},</if> <if test="nomatchvoice != null">nomatchvoice = #{nomatchvoice},</if> @@ -263,6 +271,8 @@ <if test="deptIds != null">deptIds = #{deptIds},</if> <if test="campus != null">campus = #{campus},</if> <if test="tag != null">tag = #{tag},</if> + <if test="valueType != null">value_type = #{valueType},</if> + <if test="reply != null">reply = #{reply},</if> </trim> where id = #{id} </update> @@ -270,9 +280,9 @@ <update id="deleteIvrLibaScriptByQuestionid" parameterType="Integer"> update ivr_liba_script <trim prefix="SET" suffixOverrides=","> - <if test="delFlag != null and delFlag != ''">del_flag = 1,</if> + del_flag = 1 </trim> where id = #{id} </update> -</mapper> \ No newline at end of file +</mapper> -- Gitblit v1.9.3