From 78b0e909aa6ece787091e5d81450c8927ef2599e Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期五, 15 十二月 2023 17:03:12 +0800
Subject: [PATCH] 代码提交

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

diff --git a/smartor/src/main/resources/mapper/smartor/PatArchivetagMapper.xml b/smartor/src/main/resources/mapper/smartor/PatArchivetagMapper.xml
index 2b532bf..94f2bee 100644
--- a/smartor/src/main/resources/mapper/smartor/PatArchivetagMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatArchivetagMapper.xml
@@ -36,20 +36,6 @@
         from pat_archivetag
     </sql>
 
-    <select id="selectPatArchivetagList" parameterType="com.smartor.domain.PatArchivetag"
-            resultMap="PatArchivetagResult">
-        <include refid="selectPatArchivetagVo"/>
-        <where>
-            <if test="tagcategoryid != null ">and tagcategoryid = #{tagcategoryid}</if>
-            <if test="tagid != null ">and tagid = #{tagid}</if>
-            <if test="orgid != null  and orgid != ''">and orgid = #{orgid}</if>
-            <if test="isupload != null ">and isupload = #{isupload}</if>
-            <if test="uploadTime != null ">and upload_time = #{uploadTime}</if>
-            <if test="patid != null ">and patid = #{patid}</if>
-        </where>
-    </select>
-
-
     <select id="selectPatArchivetagAndBaseTagList" parameterType="com.smartor.domain.PatArchivetag"
             resultMap="PatArchivetagResult">
         select a.id,
@@ -69,7 +55,7 @@
         <where>
             a.tagid=b.tagid
             <if test="tagcategoryid != null ">and a.tagcategoryid = #{tagcategoryid}</if>
-            <if test="tagid != null ">and b.tagid = #{tagid}</if>
+            <if test="tagid != null ">and a.tagid = #{tagid}</if>
             <if test="orgid != null  and orgid != ''">and a.orgid = #{orgid}</if>
             <if test="isupload != null ">and a.isupload = #{isupload}</if>
             <if test="uploadTime != null ">and a.upload_time = #{uploadTime}</if>

--
Gitblit v1.9.3