From 27c3f725f9bbd51e97857de6cc191d016b660bd6 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期四, 18 七月 2024 18:01:39 +0800
Subject: [PATCH] 代码提交
---
smartor/src/main/resources/mapper/smartor/SvyLibScriptOptionMapper.xml | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibScriptOptionMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibScriptOptionMapper.xml
index 00aaa5c..773b9fc 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyLibScriptOptionMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyLibScriptOptionMapper.xml
@@ -7,6 +7,7 @@
<resultMap type="com.smartor.domain.SvyLibScriptOption" id="SvyLibScriptOptionResult">
<result property="id" column="id"/>
<result property="topicid" column="topicid"/>
+ <result property="picturePath" column="picture_path"/>
<result property="svyid" column="svyid"/>
<result property="topictype" column="topictype"/>
<result property="optioncode" column="optioncode"/>
@@ -44,6 +45,7 @@
select id,
topicid,
svyid,
+ picture_path,
appendflag,
appenddesc,
topictype,
@@ -109,6 +111,7 @@
<if test="uploadTime != null ">and upload_time = #{uploadTime}</if>
<if test="appendflag != null">and appendflag = #{appendflag}</if>
<if test="appenddesc != null">and appenddesc = #{appenddesc}</if>
+ <if test="picturePath != null">and picture_path = #{picturePath}</if>
</where>
</select>
@@ -153,6 +156,7 @@
<if test="uploadTime != null">upload_time,</if>
<if test="appendflag != null">appendflag,</if>
<if test="appenddesc != null">appenddesc,</if>
+ <if test="picturePath != null">picture_path,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="topicid != null">#{topicid},</if>
@@ -187,6 +191,7 @@
<if test="uploadTime != null">#{uploadTime},</if>
<if test="appendflag != null">#{appendflag},</if>
<if test="appenddesc != null">#{appenddesc},</if>
+ <if test="picturePath != null">#{picturePath},</if>
</trim>
</insert>
@@ -225,6 +230,7 @@
<if test="uploadTime != null">upload_time = #{uploadTime},</if>
<if test="appendflag != null">appendflag = #{appendflag},</if>
<if test="appenddesc != null">appenddesc = #{appenddesc},</if>
+ <if test="picturePath != null">picture_path = #{picturePath},</if>
</trim>
where id = #{id}
</update>
@@ -243,6 +249,5 @@
#{id}
</foreach>
</delete>
-
</mapper>
--
Gitblit v1.9.3