From 580f358ce4e50816211d69ff6e31817b6593d731 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 22 十月 2024 17:32:50 +0800
Subject: [PATCH] 代码提交
---
smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml
index 7d84eb7..b928d09 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml
@@ -45,12 +45,14 @@
<result property="targettype" column="targettype"/>
<result property="targetoptions" column="targetoptions"/>
<result property="prompt" column="prompt"/>
+ <result property="groupName" column="group_name"/>
</resultMap>
<sql id="selectSvyLibTemplateScriptVo">
select id,
script_type,
targetid,
+ group_name,
targetname,
score,
prompt,
@@ -127,6 +129,7 @@
<if test="targettype != null and targettype != ''">and targettype = #{targettype}</if>
<if test="targetoptions != null and targetoptions != ''">and targetoptions = #{targetoptions}</if>
<if test="score != null">and score = #{score}</if>
+ <if test="groupName != null">and group_name = #{groupName}</if>
</where>
</select>
@@ -178,6 +181,7 @@
<if test="targettype != null and targettype != ''">targettype,</if>
<if test="targetoptions != null and targetoptions != ''">targetoptions,</if>
<if test="prompt != null and prompt != ''">prompt,</if>
+ <if test="groupName != null and groupName != ''">group_name,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="nextScriptno != null">#{nextScriptno},</if>
@@ -219,6 +223,7 @@
<if test="targettype != null and targettype != ''">#{targettype},</if>
<if test="targetoptions != null and targetoptions != ''">#{targetoptions},</if>
<if test="prompt != null and prompt != ''">#{prompt},</if>
+ <if test="groupName != null and groupName != ''">#{groupName},</if>
</trim>
</insert>
@@ -266,6 +271,7 @@
<if test="targettype != null and targettype != ''">targettype = #{targettype},</if>
<if test="targetoptions != null and targetoptions != ''">targetoptions = #{targetoptions},</if>
<if test="prompt != null and prompt != ''">prompt = #{prompt},</if>
+ <if test="groupName != null and groupName != ''">group_name = #{groupName},</if>
</trim>
where id = #{id}
</update>
--
Gitblit v1.9.3