From 37f2e4e68c0d55e094981fa478fc198b907f87dc Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期六, 20 七月 2024 16:30:13 +0800
Subject: [PATCH] 代码提交

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

diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml
index ef5b727..505218f 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml
@@ -39,12 +39,14 @@
         <result property="score" column="score"/>
         <result property="appendflag" column="appendflag"/>
         <result property="appenddesc" column="appenddesc"/>
+        <result property="optionNo" column="option_no"/>
     </resultMap>
 
     <sql id="selectSvyLibTemplateTargetoptionVo">
         select id,
                groupid,
                score,
+               option_no,
                appendflag,
                appenddesc,
                categoryName,
@@ -103,6 +105,7 @@
             <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>
 
@@ -148,6 +151,7 @@
             <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>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="groupid != null">#{groupid},</if>
@@ -183,6 +187,7 @@
             <if test="score != null">#{score},</if>
             <if test="appendflag != null">#{appendflag},</if>
             <if test="appenddesc != null">#{appenddesc},</if>
+            <if test="optionNo != null">#{optionNo},</if>
         </trim>
     </insert>
 
@@ -222,6 +227,7 @@
             <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>
         </trim>
         where id = #{id}
     </update>

--
Gitblit v1.9.3