From 907641e56c2085aaa81f267946dc3e3e9fca73e7 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 18 九月 2024 09:39:02 +0800
Subject: [PATCH] 代码提交

---
 smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml |   26 +++++++++++++++++++++++++-
 1 files changed, 25 insertions(+), 1 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml
index 220ac30..a2e5521 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml
@@ -37,12 +37,20 @@
         <result property="guid" column="guid"/>
         <result property="picturePath" column="picture_path"/>
         <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,
                scriptid,
                templateID,
@@ -72,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>
@@ -95,8 +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>
 
@@ -140,6 +152,10 @@
             <if test="guid != null">guid,</if>
             <if test="picturePath != null">picture_path,</if>
             <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>
@@ -173,6 +189,10 @@
             <if test="guid != null">#{guid},</if>
             <if test="picturePath != null">#{picturePath},</if>
             <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>
 
@@ -210,6 +230,10 @@
             <if test="guid != null">guid = #{guid},</if>
             <if test="picturePath != null">picture_path = #{picturePath},</if>
             <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