From c92523467edf0306bad25f141faa5fcb56da8806 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 06 三月 2024 11:24:17 +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 afc0e90..eb8ce08 100644
--- a/smartor/src/main/resources/mapper/smartor/HeLibraryMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/HeLibraryMapper.xml
@@ -37,6 +37,7 @@
         <result property="labelInfo" column="label_info"/>
         <result property="campus" column="campus"/>
         <result property="otherdata" column="otherdata"/>
+        <result property="richText" column="rich_text"/>
     </resultMap>
 
     <sql id="selectHeLibraryVo">
@@ -71,7 +72,8 @@
                dept_names,
                label_info,
                campus,
-               otherdata
+               otherdata,
+               rich_text
         from he_library
     </sql>
 
@@ -109,6 +111,7 @@
             <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>
         </where>
     </select>
 
@@ -151,6 +154,7 @@
             <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>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="classification != null">#{classification},</if>
@@ -184,6 +188,7 @@
             <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>
         </trim>
     </insert>
 
@@ -221,6 +226,7 @@
             <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>
         </trim>
         where id = #{id}
     </update>

--
Gitblit v1.9.3