@@ -96,7 +96,7 @@ public interface FgAuthorLibraryMapper extends BaseMapper<AuthorLibrary> {
+"FROM res_author_library a "
+"LEFT JOIN (SELECT authorId,COUNT(1) articleCount FROM res_article_library WHERE res_article_library.status = 1 GROUP BY authorId)article ON a.id=article.authorId "
+"LEFT JOIN (SELECT authorId,COUNT(1) bookCount FROM res_book,res_ebook WHERE res_book.id=res_ebook.id AND bookStatus = 1 GROUP BY authorId)book ON a.id=book.authorId "