From 0c9ec42a824aa3242fe1e1b8ce372947f2bc9a03 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 29 七月 2024 17:43:06 +0800
Subject: [PATCH] 代码提交

---
 smartor/src/main/resources/mapper/smartor/HeLibraryMapper.xml |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/HeLibraryMapper.xml b/smartor/src/main/resources/mapper/smartor/HeLibraryMapper.xml
index afc0e90..69f4dec 100644
--- a/smartor/src/main/resources/mapper/smartor/HeLibraryMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/HeLibraryMapper.xml
@@ -37,11 +37,14 @@
         <result property="labelInfo" column="label_info"/>
         <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,
@@ -71,7 +74,8 @@
                dept_names,
                label_info,
                campus,
-               otherdata
+               otherdata,
+               rich_text
         from he_library
     </sql>
 
@@ -109,6 +113,8 @@
             <if test="deptNames != null  and deptNames != ''">and dept_names = #{deptNames}</if>
             <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>
 
@@ -151,6 +157,8 @@
             <if test="labelInfo != null">label_info,</if>
             <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>
@@ -184,6 +192,8 @@
             <if test="labelInfo != null">#{labelInfo},</if>
             <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>
 
@@ -221,6 +231,8 @@
             <if test="labelInfo != null ">label_info = #{labelInfo},</if>
             <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>
@@ -239,4 +251,4 @@
             #{id}
         </foreach>
     </delete>
-</mapper>
\ No newline at end of file
+</mapper>

--
Gitblit v1.9.3