提交 845de8bf 编写于 作者: 穆雄雄's avatar 穆雄雄

部署上线时,会出现type_list字段找不到,修改SysConfigMapper文件中的type关键词为ty即可。(可能与数据库版本有关系,我用的是5.7)

上级 d4e21c2f
......@@ -15,7 +15,7 @@
SELECT
a.article_count AS articleCount,
t.tag_count AS tagCount,
type.type_count AS typeCount,
ty.type_count AS typeCount,
c.comment_count AS commentCount
FROM
(
......@@ -39,7 +39,7 @@
biz_type
WHERE
available = 1
) type,
) ty,
(
SELECT
COUNT(1) AS comment_count
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册