From 01c9667cfb06970564e837dc343d5cee0eb3aed7 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 24 四月 2024 17:53:42 +0800
Subject: [PATCH] 代码提交
---
smartor/src/main/resources/mapper/smartor/SvyLibTitleMapper.xml | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibTitleMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibTitleMapper.xml
index 9894aa5..ce11791 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyLibTitleMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyLibTitleMapper.xml
@@ -31,11 +31,15 @@
<result property="campus" column="campus"/>
<result property="suitway" column="suitway"/>
<result property="otherdata" column="otherdata"/>
+ <result property="valueType" column="value_type"/>
+ <result property="reply" column="reply"/>
</resultMap>
<sql id="selectSvyLibTitleVo">
select svyid,
categoryid,
+ value_type,
+ reply,
svycode,
svyname,
description,
@@ -66,7 +70,8 @@
<select id="selectSvyLibTitleList" parameterType="com.smartor.domain.SvyLibTitleReq" resultMap="SvyLibTitleResult">
select a.svyid, a.categoryid, a.svycode, a.svyname, a.description, a.introduce,a.submitprompt, a.templateid,
a.version,a.centerlibrarycode, a.centerlibraryid, a.islocal, a.isenable, a.orgid, a.del_flag, a.create_by,
- a.create_time, a.update_by, a.update_time, a.isupload, a.upload_time,a.dept_names,a.label_info,
+ a.create_time, a.update_by, a.update_time, a.isupload,
+ a.upload_time,a.dept_names,a.value_type,a.label_info,a.reply,
a.campus,a.suitway,a.otherdata
,c.icdname from svy_lib_title
a,icd10_association b,icd10 c
@@ -115,6 +120,10 @@
<if test="campus != null">campus,</if>
<if test="suitway != null">suitway,</if>
<if test="otherdata != null">otherdata,</if>
+ <if test="valueType != null">value_type,</if>
+ <if test="reply != null">reply,</if>
+ value_type,
+ reply,
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="categoryid != null">#{categoryid},</if>
@@ -142,6 +151,8 @@
<if test="campus != null">#{campus},</if>
<if test="suitway != null">#{suitway},</if>
<if test="otherdata != null">#{otherdata},</if>
+ <if test="valueType != null">#{valueType},</if>
+ <if test="reply != null">#{reply},</if>
</trim>
</insert>
@@ -173,6 +184,8 @@
<if test="campus != null">campus=#{campus},</if>
<if test="suitway != null">suitway=#{suitway},</if>
<if test="otherdata != null">otherdata=#{otherdata},</if>
+ <if test="valueType != null">value_type = #{valueType},</if>
+ <if test="reply != null">reply = #{reply},</if>
</trim>
where svyid = #{svyid}
</update>
@@ -189,4 +202,4 @@
#{svyid}
</foreach>
</delete>
-</mapper>
\ No newline at end of file
+</mapper>
--
Gitblit v1.9.3