From ac79f032745c975eb77d6fb148ed390f2373559e Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期四, 28 十二月 2023 17:58:52 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetoptionMapper.xml | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetoptionMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetoptionMapper.xml index 7955a0f..ffdac29 100644 --- a/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetoptionMapper.xml +++ b/smartor/src/main/resources/mapper/smartor/IvrLibaScriptTargetoptionMapper.xml @@ -7,6 +7,7 @@ <resultMap type="com.smartor.domain.IvrLibaScriptTargetoption" id="IvrLibaScriptTargetoptionResult"> <result property="id" column="id"/> <result property="targetid" column="targetid"/> + <result property="targetname" column="targetname"/> <result property="scriptid" column="scriptid"/> <result property="targettype" column="targettype"/> <result property="categoryName" column="categoryName"/> @@ -34,6 +35,7 @@ <sql id="selectIvrLibaScriptTargetoptionVo"> select id, targetid, + targetname, scriptid, targettype, categoryName, @@ -48,6 +50,7 @@ <include refid="selectIvrLibaScriptTargetoptionVo"/> <where> <if test="targetid != null and targetid != ''">and targetid = #{targetid}</if> + <if test="targetname != null and targetname != ''">and targetname = #{targetname}</if> <if test="scriptid != null ">and scriptid = #{scriptid}</if> <if test="targettype != null and targettype != ''">and targettype = #{targettype}</if> <if test="categoryName != null and categoryName != ''">and categoryName like concat('%', #{categoryName}, @@ -81,6 +84,7 @@ <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null">id,</if> <if test="targetid != null and targetid != ''">targetid,</if> + <if test="targetname != null and targetname != ''">targetname,</if> <if test="scriptid != null">scriptid,</if> <if test="targettype != null and targettype != ''">targettype,</if> <if test="categoryName != null and categoryName != ''">categoryName,</if> @@ -107,6 +111,7 @@ <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="id != null">#{id},</if> <if test="targetid != null and targetid != ''">#{targetid},</if> + <if test="targetname != null and targetname != ''">#{targetname},</if> <if test="scriptid != null ">#{scriptid},</if> <if test="targettype != null and targettype != ''">#{targettype},</if> <if test="categoryName != null and categoryName != ''">#{categoryName},</if> @@ -136,6 +141,7 @@ update ivr_liba_script_targetoption <trim prefix="SET" suffixOverrides=","> <if test="targetid != null and targetid != ''">targetid = #{targetid},</if> + <if test="targetname != null and targetname != ''">targetname = #{targetname},</if> <if test="scriptid != null">scriptid = #{scriptid},</if> <if test="targettype != null and targettype != ''">targettype = #{targettype},</if> <if test="categoryName != null and categoryName != ''">categoryName = #{categoryName},</if> -- Gitblit v1.9.3