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 ++-- src/main/resources/application.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 99c6c24..dea844b 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -78,8 +78,8 @@ max-request-size: 100MB mybatis-plus: mapper-locations: classpath:mapper/*.xml - configuration: - log-impl: org.apache.ibatis.logging.stdout.StdOutImpl +# configuration: +# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl app: 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