From 3153009257c97b0f0099f787e951dd15472d077e Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 24 六月 2024 14:12:42 +0800
Subject: [PATCH] 代码提交

---
 smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml
index 8ec9dfc..3e134ad 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml
@@ -37,6 +37,7 @@
         <result property="scoretype" column="scoretype"/>
         <result property="score" column="score"/>
         <result property="scriptPicture" column="script_picture"/>
+        <result property="topic" column="topic"/>
     </resultMap>
 
     <sql id="selectSvyLibTemplateScriptVo">
@@ -65,6 +66,7 @@
                script_content,
                suitway,
                script_picture,
+               topic,
                isavailable, language, otherdata, value_type, reply, scoretype, score
         from svy_lib_template_script
     </sql>
@@ -73,6 +75,7 @@
             resultMap="SvyLibTemplateScriptResult">
         <include refid="selectSvyLibTemplateScriptVo"/>
         <where>
+            del_flag=0
             <if test="oldid != null ">and oldid = #{oldid}</if>
             <if test="svyid != null ">and svyid = #{svyid}</if>
             <if test="scriptType != null  and scriptType != ''">and script_type = #{scriptType}</if>
@@ -98,6 +101,7 @@
             <if test="reply != null  and reply != ''">and reply = #{reply}</if>
             <if test="scoretype != null  and scoretype != ''">and scoretype = #{scoretype}</if>
             <if test="score != null  and score != ''">and score = #{score}</if>
+            <if test="topic != null  and topic != ''">and topic = #{topic}</if>
         </where>
     </select>
 
@@ -141,6 +145,7 @@
             <if test="scoretype != null">scoretype,</if>
             <if test="score != null">score,</if>
             <if test="scriptPicture != null">script_picture,</if>
+            <if test="topic != null">topic,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="oldid != null">#{oldid},</if>
@@ -174,6 +179,7 @@
             <if test="scoretype != null">#{scoretype},</if>
             <if test="score != null">#{score},</if>
             <if test="scriptPicture != null">#{scriptPicture},</if>
+            <if test="topic != null">#{topic},</if>
         </trim>
     </insert>
 
@@ -211,6 +217,7 @@
             <if test="scoretype != null">scoretype = #{scoretype},</if>
             <if test="score != null">score = #{score},</if>
             <if test="scriptPicture != null">script_picture = #{scriptPicture},</if>
+            <if test="topic != null">topic = #{topic},</if>
         </trim>
         where id = #{id}
     </update>

--
Gitblit v1.9.3