From a0bcee3aa22b79f592c44cdb3dcdbd681490f265 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 15 一月 2024 10:34:31 +0800
Subject: [PATCH] 代码提交

---
 smartor/src/main/resources/mapper/smartor/HeLibraryTagMapper.xml |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/HeLibraryTagMapper.xml b/smartor/src/main/resources/mapper/smartor/HeLibraryTagMapper.xml
index 045ee1c..7c8de6e 100644
--- a/smartor/src/main/resources/mapper/smartor/HeLibraryTagMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/HeLibraryTagMapper.xml
@@ -19,6 +19,7 @@
         <result property="heid" column="heid"/>
         <result property="pid" column="pid"/>
         <result property="guid" column="guid"/>
+        <result property="tagname" column="tagname"/>
     </resultMap>
 
     <sql id="selectHeLibraryTagVo">
@@ -35,7 +36,8 @@
                upload_time,
                heid,
                pid,
-               guid
+               guid,
+               tagname
         from he_library_tag
     </sql>
 
@@ -50,6 +52,7 @@
             <if test="heid != null ">and heid = #{heid}</if>
             <if test="pid != null ">and pid = #{pid}</if>
             <if test="guid != null  and guid != ''">and guid = #{guid}</if>
+            <if test="tagname != null  and tagname != ''">and tagname = #{tagname}</if>
         </where>
     </select>
 
@@ -75,6 +78,7 @@
             <if test="heid != null">heid,</if>
             <if test="pid != null">pid,</if>
             <if test="guid != null">guid,</if>
+            <if test="tagname != null">tagname,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="tagcategoryid != null">#{tagcategoryid},</if>
@@ -90,6 +94,7 @@
             <if test="heid != null">#{heid},</if>
             <if test="pid != null">#{pid},</if>
             <if test="guid != null">#{guid},</if>
+            <if test="tagname != null">#{tagname},</if>
         </trim>
     </insert>
 
@@ -109,6 +114,7 @@
             <if test="heid != null">heid = #{heid},</if>
             <if test="pid != null">pid = #{pid},</if>
             <if test="guid != null">guid = #{guid},</if>
+            <if test="tagname != null">tagname = #{tagname},</if>
         </trim>
         where id = #{id}
     </update>

--
Gitblit v1.9.3