From 10aaa035f5be0312304d20f022bdb714a8f4900a Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期三, 11 十二月 2024 22:16:23 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/resources/mapper/smartor/SvyLibTemplateMapper.xml | 27 ++++++++++++++++++++++++++- 1 files changed, 26 insertions(+), 1 deletions(-) diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateMapper.xml index 58fa041..4264cc7 100644 --- a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateMapper.xml +++ b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateMapper.xml @@ -34,11 +34,19 @@ <result property="reply" column="reply"/> <result property="scriptScore" column="script_score"/> <result property="scoreType" column="score_type"/> + <result property="prologue" column="prologue"/> + <result property="instruction" column="instruction"/> + <result property="conclusion" column="conclusion"/> + <result property="longTemp" column="long_temp"/> </resultMap> <sql id="selectSvyLibTemplateVo"> select svyid, categoryid, + long_temp, + instruction, + prologue, + conclusion, value_type, reply, score_type, @@ -73,6 +81,10 @@ resultMap="SvyLibTemplateResult"> SELECT a.svyid, + a.long_temp, + a.conclusion, + a.instruction, + a.prologue, a.categoryid, a.svycode, a.svyname, @@ -112,8 +124,9 @@ a.del_flag=0 <if test="categoryid != null ">and a.categoryid = #{categoryid}</if> <if test="svyid != null ">and a.svyid = #{svyid}</if> + <if test="longTemp != null ">and a.long_temp = #{longTemp}</if> <if test="svyname != null and svyname != ''">and a.svyname like concat('%', #{svyname}, '%')</if> - <if test="description != null and description != ''">and b.icd10name like concat('%', #{description}, '%') + <if test="description != null and description != ''">and b.icd10name like concat('%', #{description}, '%') </if> </where> order by a.create_time desc @@ -156,6 +169,10 @@ <if test="reply != null">reply,</if> <if test="scriptScore != null">script_score,</if> <if test="scoreType != null">score_type,</if> + <if test="conclusion != null">conclusion,</if> + <if test="instruction != null">instruction,</if> + <if test="prologue != null">prologue,</if> + <if test="longTemp != null ">long_temp,</if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="categoryid != null">#{categoryid},</if> @@ -186,6 +203,10 @@ <if test="reply != null">#{reply},</if> <if test="scriptScore != null">#{scriptScore},</if> <if test="scoreType != null">#{scoreType},</if> + <if test="conclusion != null">#{conclusion},</if> + <if test="instruction != null">#{instruction},</if> + <if test="prologue != null">#{prologue},</if> + <if test="longTemp != null ">#{longTemp},</if> </trim> </insert> @@ -220,6 +241,10 @@ <if test="reply != null">reply = #{reply},</if> <if test="scriptScore != null">script_score = #{scriptScore},</if> <if test="scoreType != null">score_type = #{scoreType},</if> + <if test="conclusion != null">conclusion=#{conclusion},</if> + <if test="instruction != null">instruction=#{instruction},</if> + <if test="prologue != null">prologue=#{prologue},</if> + <if test="longTemp != null ">long_temp = #{longTemp},</if> </trim> where svyid = #{svyid} </update> -- Gitblit v1.9.3