Commit b98ea15f by 郑永强

fix bug

parent 906532b4
...@@ -37,8 +37,8 @@ ...@@ -37,8 +37,8 @@
a.message_count messageCount, a.message_count messageCount,
a.create_time createTime, a.create_time createTime,
a.content_from contentFrom, a.content_from contentFrom,
(SELECT COUNT(1) FROM ad_news_click_record x WHERE x.message_statistic_id=a.id) click_count, (SELECT COUNT(1) FROM ad_news_click_record x WHERE x.message_statistic_id=a.id) clickCount,
(SELECT COUNT(DISTINCT wechat_user_id) FROM ad_news_click_record x WHERE x.message_statistic_id=a.id) user_count (SELECT COUNT(DISTINCT wechat_user_id) FROM ad_news_click_record x WHERE x.message_statistic_id=a.id) userCount
FROM FROM
ad_news_message_statistic a ad_news_message_statistic a
INNER JOIN book_group b ON a.book_group_id = b.id INNER JOIN book_group b ON a.book_group_id = b.id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment