From d3b362de432a32c10ccd039dfc417d8c6233f543 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期五, 28 三月 2025 18:10:21 +0800
Subject: [PATCH] 代码提交

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

diff --git a/smartor/src/main/resources/mapper/smartor/HeLibraryMapper.xml b/smartor/src/main/resources/mapper/smartor/HeLibraryMapper.xml
index 7d8f875..2df9355 100644
--- a/smartor/src/main/resources/mapper/smartor/HeLibraryMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/HeLibraryMapper.xml
@@ -39,6 +39,7 @@
         <result property="otherdata" column="otherdata"/>
         <result property="richText" column="rich_text"/>
         <result property="hetype" column="hetype"/>
+        <result property="watchCount" column="watch_count"/>
         <result property="htmlRichText" column="html_rich_text"/>
     </resultMap>
 
@@ -46,6 +47,7 @@
         select id,
                classification,
                hetype,
+               watch_count,
                html_rich_text,
                assortid,
                preachname,
@@ -108,6 +110,7 @@
             </if>
             <if test="pid != null ">and pid = #{pid}</if>
             <if test="guid != null  and guid != ''">and guid = #{guid}</if>
+            <if test="watchCount != null  ">and watch_count = #{watchCount}</if>
             <if test="parameter != null  and parameter != ''">and parameter = #{parameter}</if>
             <if test="isavailable != null  and isavailable != ''">and isavailable = #{isavailable}</if>
             <if test="suitdisease != null  and suitdisease != ''">and suitdisease = #{suitdisease}</if>
@@ -162,6 +165,7 @@
             <if test="otherdata != null">otherdata,</if>
             <if test="richText != null  and richText != ''">rich_text,</if>
             <if test="hetype != null  and hetype != ''">hetype,</if>
+            <if test="watchCount != null">watch_count,</if>
             <if test="htmlRichText != null  and htmlRichText != ''">html_rich_text,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
@@ -198,6 +202,7 @@
             <if test="otherdata != null">#{otherdata},</if>
             <if test="richText != null  and richText != ''">#{richText},</if>
             <if test="hetype != null  and hetype != ''">#{hetype},</if>
+            <if test="watchCount != null">#{watchCount},</if>
             <if test="htmlRichText != null  and htmlRichText != ''">#{htmlRichText},</if>
         </trim>
     </insert>
@@ -239,6 +244,7 @@
             <if test="richText != null  and richText != ''">rich_text = #{richText},</if>
             <if test="hetype != null  and hetype != ''">hetype = #{hetype},</if>
             <if test="htmlRichText != null  and htmlRichText != ''">html_rich_text = #{htmlRichText},</if>
+            <if test="watchCount != null">watch_count=#{watchCount},</if>
         </trim>
         where id = #{id}
     </update>

--
Gitblit v1.9.3