From c45c7c3340efdc57342432b84be26d889d633edf Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期六, 20 七月 2024 16:49:27 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml index 870473a..76de18d 100644 --- a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml +++ b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml @@ -10,6 +10,7 @@ <result property="nextScriptno" column="next_scriptno"/> <result property="scriptno" column="scriptno"/> <result property="scriptDesc" column="script_desc"/> + <result property="svyid" column="svyid"/> <result property="tag" column="tag"/> <result property="sort" column="sort"/> <result property="ismandatory" column="ismandatory"/> @@ -37,12 +38,17 @@ <result property="score" column="score"/> <result property="scriptPicture" column="script_picture"/> <result property="scriptTopic" column="script_topic"/> + <result property="branchFlag" column="branch_flag"/> + <result property="branchNextscriptno" column="branch_nextscriptno"/> </resultMap> <sql id="selectSvyLibTemplateScriptVo"> select id, script_type, scriptid, + branch_flag, + branch_nextscriptno, + svyid, scriptno, next_scriptno, script_desc, @@ -100,6 +106,10 @@ <if test="scoretype != null and scoretype != ''">and scoretype = #{scoretype}</if> <if test="score != null and score != ''">and score = #{score}</if> <if test="scriptTopic != null and scriptTopic != ''">and script_topic = #{scriptTopic}</if> + <if test="svyid != null ">and svyid = #{svyid}</if> + <if test="branchFlag != null and branchFlag != ''">and branch_flag = #{branchFlag}</if> + <if test="branchNextscriptno != null and branchNextscriptno != ''">and branch_nextscriptno = + #{branchNextscriptno}</if> </where> </select> @@ -143,6 +153,9 @@ <if test="score != null">score,</if> <if test="scriptPicture != null">script_picture,</if> <if test="scriptTopic != null">script_topic,</if> + <if test="svyid != null">svyid,</if> + <if test="branchFlag != null and branchFlag != ''">branch_flag,</if> + <if test="branchNextscriptno != null and branchNextscriptno != ''">branch_nextscriptno,</if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="nextScriptno != null">#{nextScriptno},</if> @@ -176,6 +189,9 @@ <if test="score != null">#{score},</if> <if test="scriptPicture != null">#{scriptPicture},</if> <if test="scriptTopic != null">#{scriptTopic},</if> + <if test="svyid != null">#{svyid},</if> + <if test="branchFlag != null and branchFlag != ''">#{branchFlag},</if> + <if test="branchNextscriptno != null and branchNextscriptno != ''">#{branchNextscriptno},</if> </trim> </insert> @@ -213,6 +229,11 @@ <if test="score != null">score = #{score},</if> <if test="scriptPicture != null">script_picture = #{scriptPicture},</if> <if test="scriptTopic != null">script_topic = #{scriptTopic},</if> + <if test="svyid != null">svyid = #{svyid},</if> + <if test="branchFlag != null and branchFlag != ''">branch_flag = #{branchFlag},</if> + <if test="branchNextscriptno != null and branchNextscriptno != ''">branch_nextscriptno = + #{branchNextscriptno}, + </if> </trim> where id = #{id} </update> -- Gitblit v1.9.3