From 723d38375c45d24737bfef6f33a9686254abf99b Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期四, 17 十月 2024 13:42:27 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetMapper.xml | 34 ++++++++++++++++++++++++++++++++-- 1 files changed, 32 insertions(+), 2 deletions(-) diff --git a/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetMapper.xml index 652855c..62e59ce 100644 --- a/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetMapper.xml +++ b/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetMapper.xml @@ -28,11 +28,21 @@ <result property="orgid" column="orgid"/> <result property="pid" column="pid"/> <result property="guid" column="guid"/> + <result property="optiondesc" column="optiondesc"/> + <result property="isabnormal" column="isabnormal"/> + <result property="warnup" column="warnup"/> + <result property="warndown" column="warndown"/> + <result property="picturePath" column="picture_path"/> </resultMap> <sql id="selectIvrLibaScriptTargetVo"> select id, scriptid, + optiondesc, + isabnormal, + warnup, + warndown, + picture_path, targetID, targetType, categoryName, @@ -80,6 +90,11 @@ <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> <if test="pid != null ">and pid = #{pid}</if> <if test="guid != null and guid != ''">and guid = #{guid}</if> + <if test="isabnormal != null and optiondesc != ''">and optiondesc = #{optiondesc}</if> + <if test="isabnormal != null ">and isabnormal = #{isabnormal}</if> + <if test="warnup != null ">and warnup = #{warnup}</if> + <if test="warndown != null">and warndown = #{warndown}</if> + <if test="picturePath != null and picturePath != ''">and picture_path = #{picturePath}</if> </where> </select> @@ -114,6 +129,11 @@ <if test="orgid != null">orgid,</if> <if test="pid != null">pid,</if> <if test="guid != null">guid,</if> + <if test="optiondesc != null">optiondesc,</if> + <if test="isabnormal != null">isabnormal,</if> + <if test="warnup != null">warnup,</if> + <if test="warndown != null">warndown,</if> + <if test="picturePath != null">picture_path,</if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="scriptid != null ">#{scriptid},</if> @@ -138,6 +158,11 @@ <if test="orgid != null">#{orgid},</if> <if test="pid != null">#{pid},</if> <if test="guid != null">#{guid},</if> + <if test="optiondesc != null">#{optiondesc},</if> + <if test="isabnormal != null">#{isabnormal},</if> + <if test="warnup != null">#{warnup},</if> + <if test="warndown != null">#{warndown},</if> + <if test="picturePath != null">#{picturePath},</if> </trim> </insert> @@ -166,6 +191,11 @@ <if test="orgid != null">orgid = #{orgid},</if> <if test="pid != null">pid = #{pid},</if> <if test="guid != null">guid = #{guid},</if> + <if test="optiondesc != null">optiondesc = #{optiondesc},</if> + <if test="isabnormal != null">isabnormal = #{isabnormal},</if> + <if test="warnup != null">warnup = #{warnup},</if> + <if test="warndown != null">warndown = #{warndown},</if> + <if test="picturePath != null">picture_path = #{picturePath},</if> </trim> where id = #{id} </update> @@ -173,9 +203,9 @@ <delete id="deleteIvrLibaScriptTargetByQuestionTargetID" parameterType="Long"> update ivr_liba_script_target <trim prefix="SET" suffixOverrides=","> - <if test="delFlag != null and delFlag != ''">del_flag = 1</if> + del_flag = 1 </trim> where id = #{id} </delete> -</mapper> \ No newline at end of file +</mapper> -- Gitblit v1.9.3