From f55c563e2a0b52e4569ce6b5f81632cac598f7fe Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 30 十月 2024 18:36:55 +0800
Subject: [PATCH] 代码提交
---
smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml
index ef5b727..a2e5521 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml
@@ -39,12 +39,16 @@
<result property="score" column="score"/>
<result property="appendflag" column="appendflag"/>
<result property="appenddesc" column="appenddesc"/>
+ <result property="optionNo" column="option_no"/>
+ <result property="prompt" column="prompt"/>
</resultMap>
<sql id="selectSvyLibTemplateTargetoptionVo">
select id,
groupid,
score,
+ prompt,
+ option_no,
appendflag,
appenddesc,
categoryName,
@@ -76,6 +80,7 @@
'%')
</if>
<if test="scriptid != null ">and scriptid = #{scriptid}</if>
+ <if test="prompt != null ">and prompt = #{prompt}</if>
<if test="templateID != null ">and templateID = #{templateID}</if>
<if test="targettype != null and targettype != ''">and targettype = #{targettype}</if>
<if test="targetid != null ">and targetid = #{targetid}</if>
@@ -99,10 +104,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="score != null and score != ''">and score = #{score}</if>
+ <if test="score != null">and score = #{score}</if>
<if test="picturePath != null and picturePath != ''">and picture_path = #{picturePath}</if>
<if test="appendflag != null">and appendflag = #{appendflag}</if>
<if test="appenddesc != null">and appenddesc = #{appenddesc}</if>
+ <if test="optionNo != null">and option_no = #{optionNo}</if>
</where>
</select>
@@ -148,6 +154,8 @@
<if test="score != null">score,</if>
<if test="appendflag != null">appendflag,</if>
<if test="appenddesc != null">appenddesc,</if>
+ <if test="optionNo != null">option_no,</if>
+ <if test="prompt != null">prompt,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="groupid != null">#{groupid},</if>
@@ -183,6 +191,8 @@
<if test="score != null">#{score},</if>
<if test="appendflag != null">#{appendflag},</if>
<if test="appenddesc != null">#{appenddesc},</if>
+ <if test="optionNo != null">#{optionNo},</if>
+ <if test="prompt != null">#{prompt},</if>
</trim>
</insert>
@@ -222,6 +232,8 @@
<if test="score != null">score = #{score},</if>
<if test="appendflag != null">appendflag = #{appendflag},</if>
<if test="appenddesc != null">appenddesc = #{appenddesc},</if>
+ <if test="optionNo != null">option_no = #{optionNo},</if>
+ <if test="prompt != null">prompt = #{prompt},</if>
</trim>
where id = #{id}
</update>
--
Gitblit v1.9.3