From 0ff7a8f69570b3fc7418c35f3d6e273ef4f73f20 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期五, 26 七月 2024 10:35:10 +0800
Subject: [PATCH] 代码提交
---
smartor/src/main/resources/mapper/smartor/HeLibraryMapper.xml | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/HeLibraryMapper.xml b/smartor/src/main/resources/mapper/smartor/HeLibraryMapper.xml
index eb8ce08..69f4dec 100644
--- a/smartor/src/main/resources/mapper/smartor/HeLibraryMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/HeLibraryMapper.xml
@@ -38,11 +38,13 @@
<result property="campus" column="campus"/>
<result property="otherdata" column="otherdata"/>
<result property="richText" column="rich_text"/>
+ <result property="hetype" column="hetype"/>
</resultMap>
<sql id="selectHeLibraryVo">
select id,
classification,
+ hetype,
assortid,
preachname,
version,
@@ -112,6 +114,7 @@
<if test="labelInfo != null and labelInfo != ''">and label_info = #{labelInfo}</if>
<if test="campus != null and campus != ''">and campus = #{campus}</if>
<if test="richText != null and richText != ''">and rich_text = #{richText}</if>
+ <if test="hetype != null and hetype != ''">and hetype = #{hetype}</if>
</where>
</select>
@@ -155,6 +158,7 @@
<if test="campus != null">campus,</if>
<if test="otherdata != null">otherdata,</if>
<if test="richText != null and richText != ''">rich_text,</if>
+ <if test="hetype != null and hetype != ''">hetype,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="classification != null">#{classification},</if>
@@ -189,6 +193,7 @@
<if test="campus != null">#{campus},</if>
<if test="otherdata != null">#{otherdata},</if>
<if test="richText != null and richText != ''">#{richText},</if>
+ <if test="hetype != null and hetype != ''">#{hetype},</if>
</trim>
</insert>
@@ -227,6 +232,7 @@
<if test="campus != null">campus = #{campus},</if>
<if test="otherdata != null">otherdata = #{otherdata},</if>
<if test="richText != null and richText != ''">rich_text = #{richText},</if>
+ <if test="hetype != null and hetype != ''">hetype = #{hetype},</if>
</trim>
where id = #{id}
</update>
@@ -245,4 +251,4 @@
#{id}
</foreach>
</delete>
-</mapper>
\ No newline at end of file
+</mapper>
--
Gitblit v1.9.3