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 | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml index 505218f..a2e5521 100644 --- a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml +++ b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml @@ -40,12 +40,14 @@ <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, @@ -78,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> @@ -101,7 +104,7 @@ <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> @@ -152,6 +155,7 @@ <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> @@ -188,6 +192,7 @@ <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> @@ -228,6 +233,7 @@ <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