From aae48957ba971ed0a1bfbfa182701cd22bbe8694 Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Wed, 31 Aug 2022 18:12:16 +0800
Subject: [PATCH] 新增编辑页 查询接口

---
 snowy-main/src/main/java/vip/xiaonuo/modular/blogarticletype/mapper/mapping/BlogArticleTypeMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticletype/mapper/mapping/BlogArticleTypeMapper.xml b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticletype/mapper/mapping/BlogArticleTypeMapper.xml
index 4d3da7a..c6b5fc8 100644
--- a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticletype/mapper/mapping/BlogArticleTypeMapper.xml
+++ b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticletype/mapper/mapping/BlogArticleTypeMapper.xml
@@ -12,7 +12,7 @@
 			(
 				SELECT
 					t.id,
-					count(t.id) count
+					count(t.id) `count`
 				FROM
 					blog_article a,
 					blog_article_type t
@@ -28,6 +28,7 @@
 			) t2
 		on
 			t1.id = t2.id
+		where t1.is_show_face = 1
 		ORDER BY
 			t1.top_value ASC,
 			t1.create_date DESC

--
Gitblit v1.9.1