From 49dbcdadd860b7613063ee618fbe38a0593d5bd9 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Mon, 11 Jul 2022 15:45:29 +0800
Subject: [PATCH] fix

---
 src/main/resources/mapper/ArticleMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/ArticleMapper.xml b/src/main/resources/mapper/ArticleMapper.xml
index 125dca1..ec40eb7 100644
--- a/src/main/resources/mapper/ArticleMapper.xml
+++ b/src/main/resources/mapper/ArticleMapper.xml
@@ -125,7 +125,7 @@
 
     <select id="selectArticleIdsByColumnId" resultType="java.lang.Long">
         select a.id from t_article a
-        where a.column_id=#{columnId} and a.company_id=#{companyId}
+        where a.column_id=#{columnId} and a.company_id=#{companyId} and a.del_status = 1
         <if test="type != 4">
             <if test="type == 2">
                 and release_status=1
@@ -138,7 +138,7 @@
 
     <select id="selectArticleByColumnId" resultType="com.xcong.farmer.cms.modules.system.entity.ArticleEntity">
         select * from t_article a
-        where a.column_id=#{columnId} and a.company_id=#{companyId}
+        where a.column_id=#{columnId} and a.company_id=#{companyId} and a.del_status = 1
         <if test="type != 4">
             <if test="type == 2">
                 and release_status=1

--
Gitblit v1.9.1