From 0b02577ab12ac83a0530b7e0495b513dd0cdabca Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 02 七月 2024 11:25:08 +0800
Subject: [PATCH] 代码提交

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

diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml
index 3e134ad..af88d7d 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml
@@ -9,8 +9,8 @@
         <result property="oldid" column="oldid"/>
         <result property="svyid" column="svyid"/>
         <result property="scriptType" column="script_type"/>
-        <result property="scriptCode" column="script_code"/>
-        <result property="script" column="script"/>
+        <result property="seqno" column="seqno"/>
+        <result property="scriptDesc" column="script_desc"/>
         <result property="tag" column="tag"/>
         <result property="sort" column="sort"/>
         <result property="ismandatory" column="ismandatory"/>
@@ -37,7 +37,7 @@
         <result property="scoretype" column="scoretype"/>
         <result property="score" column="score"/>
         <result property="scriptPicture" column="script_picture"/>
-        <result property="topic" column="topic"/>
+        <result property="scriptTopic" column="script_topic"/>
     </resultMap>
 
     <sql id="selectSvyLibTemplateScriptVo">
@@ -45,8 +45,8 @@
                oldid,
                svyid,
                script_type,
-               script_code,
-               script,
+               seqno,
+               script_desc,
                tag,
                sort,
                ismandatory,
@@ -66,7 +66,7 @@
                script_content,
                suitway,
                script_picture,
-               topic,
+               script_topic,
                isavailable, language, otherdata, value_type, reply, scoretype, score
         from svy_lib_template_script
     </sql>
@@ -79,8 +79,8 @@
             <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>
-            <if test="scriptCode != null  and scriptCode != ''">and script_code = #{scriptCode}</if>
-            <if test="script != null  and script != ''">and script = #{script}</if>
+            <if test="seqno != null  and seqno != ''">and seqno = #{seqno}</if>
+            <if test="scriptDesc != null  and scriptDesc != ''">and script_desc = #{scriptDesc}</if>
             <if test="tag != null  and tag != ''">and tag = #{tag}</if>
             <if test="sort != null ">and sort = #{sort}</if>
             <if test="ismandatory != null  and ismandatory != ''">and ismandatory = #{ismandatory}</if>
@@ -101,7 +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>
+            <if test="scriptTopic != null  and scriptTopic != ''">and script_topic = #{scriptTopic}</if>
         </where>
     </select>
 
@@ -117,8 +117,8 @@
             <if test="oldid != null">oldid,</if>
             <if test="svyid != null">svyid,</if>
             <if test="scriptType != null">script_type,</if>
-            <if test="scriptCode != null">script_code,</if>
-            <if test="script != null">script,</if>
+            <if test="seqno != null">seqno,</if>
+            <if test="scriptDesc != null">script_desc,</if>
             <if test="tag != null">tag,</if>
             <if test="sort != null">sort,</if>
             <if test="ismandatory != null">ismandatory,</if>
@@ -145,14 +145,14 @@
             <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>
+            <if test="scriptTopic != null">script_topic,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="oldid != null">#{oldid},</if>
             <if test="svyid != null">#{svyid},</if>
             <if test="scriptType != null">#{scriptType},</if>
-            <if test="scriptCode != null">#{scriptCode},</if>
-            <if test="script != null">#{script},</if>
+            <if test="seqno != null">#{seqno},</if>
+            <if test="scriptDesc != null">#{scriptDesc},</if>
             <if test="tag != null">#{tag},</if>
             <if test="sort != null">#{sort},</if>
             <if test="ismandatory != null">#{ismandatory},</if>
@@ -179,7 +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>
+            <if test="scriptTopic != null">#{scriptTopic},</if>
         </trim>
     </insert>
 
@@ -189,8 +189,8 @@
             <if test="oldid != null">oldid = #{oldid},</if>
             <if test="svyid != null">svyid = #{svyid},</if>
             <if test="scriptType != null">script_type = #{scriptType},</if>
-            <if test="scriptCode != null">script_code = #{scriptCode},</if>
-            <if test="script != null">script = #{script},</if>
+            <if test="seqno != null">seqno = #{seqno},</if>
+            <if test="scriptDesc != null">script_desc = #{scriptDesc},</if>
             <if test="tag != null">tag = #{tag},</if>
             <if test="sort != null">sort = #{sort},</if>
             <if test="ismandatory != null">ismandatory = #{ismandatory},</if>
@@ -217,7 +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>
+            <if test="scriptTopic != null">script_topic = #{scriptTopic},</if>
         </trim>
         where id = #{id}
     </update>

--
Gitblit v1.9.3