From 0bd3850e552fd3aa61619db84e4d6e673640943d Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 22 四月 2026 19:30:51 +0800
Subject: [PATCH] 获取subid
---
smartor/src/main/resources/mapper/smartor/SvyLibScriptOptionMapper.xml | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibScriptOptionMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibScriptOptionMapper.xml
index 70fd431..f538797 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyLibScriptOptionMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyLibScriptOptionMapper.xml
@@ -41,12 +41,14 @@
<result property="appendflag" column="appendflag"/>
<result property="appenddesc" column="appenddesc"/>
<result property="guid" column="guid"/>
+ <result property="defaultValue" column="default_value"/>
</resultMap>
<sql id="selectSvyLibScriptOptionVo">
select id,
topicid,
svyid,
+ default_value,
guid,
picture_path,
appendflag,
@@ -117,6 +119,7 @@
<if test="appenddesc != null">and appenddesc = #{appenddesc}</if>
<if test="picturePath != null">and picture_path = #{picturePath}</if>
<if test="isException != null">and is_exception = #{isException}</if>
+ <if test="defaultValue != null">and default_value = #{defaultValue}</if>
</select>
<select id="selectSvyLibScriptOptionByOptionid" parameterType="Long" resultMap="SvyLibScriptOptionResult">
@@ -163,6 +166,7 @@
<if test="picturePath != null">picture_path,</if>
<if test="guid != null">guid,</if>
<if test="isException != null">is_exception,</if>
+ <if test="defaultValue != null">default_value,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="topicid != null">#{topicid},</if>
@@ -200,6 +204,7 @@
<if test="picturePath != null">#{picturePath},</if>
<if test="guid != null">#{guid},</if>
<if test="isException != null">#{isException},</if>
+ <if test="defaultValue != null">#{defaultValue},</if>
</trim>
</insert>
@@ -240,6 +245,7 @@
<if test="appenddesc != null">appenddesc = #{appenddesc},</if>
<if test="picturePath != null">picture_path = #{picturePath},</if>
<if test="isException != null">is_exception = #{isException},</if>
+ <if test="defaultValue != null">default_value = #{defaultValue},</if>
</trim>
where id = #{id}
</update>
--
Gitblit v1.9.3