From d3bf339bd64d7b7efddc0afdd4beb1866b8b5a04 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期六, 21 九月 2024 00:47:55 +0800
Subject: [PATCH] 代码提交
---
smartor/src/main/resources/mapper/smartor/SvyLibTemplateMapper.xml | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateMapper.xml
index e348d2d..4264cc7 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateMapper.xml
@@ -37,11 +37,13 @@
<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,
@@ -79,6 +81,7 @@
resultMap="SvyLibTemplateResult">
SELECT
a.svyid,
+ a.long_temp,
a.conclusion,
a.instruction,
a.prologue,
@@ -121,6 +124,7 @@
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>
@@ -168,6 +172,7 @@
<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>
@@ -201,6 +206,7 @@
<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>
@@ -238,6 +244,7 @@
<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