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/SvyTaskTemplateScriptMapper.xml | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/SvyTaskTemplateScriptMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyTaskTemplateScriptMapper.xml
index 1f9b4dd..5a5fe37 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyTaskTemplateScriptMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyTaskTemplateScriptMapper.xml
@@ -42,6 +42,7 @@
<result property="targetname" column="targetname"/>
<result property="score" column="score"/>
<result property="prompt" column="prompt"/>
+ <result property="groupName" column="group_name"/>
</resultMap>
@@ -49,6 +50,7 @@
select id,
sort,
prompt,
+ group_name,
branch_flag,
branch_nextscriptno,
score,
@@ -98,6 +100,7 @@
<if test="targettype != null and targettype != ''">and targettype = #{targettype}</if>
<if test="score != null ">and score = #{score}</if>
<if test="prompt != null ">and prompt = #{prompt}</if>
+ <if test="groupName != null ">and group_name = #{groupName}</if>
<if test="branchNextscriptno != null and branchNextscriptno != ''">and branch_nextscriptno =
#{branchNextscriptno}
</if>
@@ -149,6 +152,7 @@
<if test="targettype != null and targettype != ''">targettype,</if>
<if test="score != null ">score,</if>
<if test="prompt != null ">prompt,</if>
+ <if test="groupName != null ">group_name,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="taskid != null">#{taskid},</if>
@@ -187,6 +191,7 @@
<if test="targettype != null and targettype != ''">#{targettype},</if>
<if test="score != null ">#{score},</if>
<if test="prompt != null ">#{prompt},</if>
+ <if test="groupName != null ">#{groupName},</if>
</trim>
</insert>
@@ -231,6 +236,7 @@
<if test="targettype != null and targettype != ''">targettype = #{targettype},</if>
<if test="score != null">score = #{score},</if>
<if test="prompt != null">prompt = #{prompt},</if>
+ <if test="groupName != null ">group_name = #{groupName},</if>
</trim>
where id = #{d}
</update>
--
Gitblit v1.9.3