提交 4c1b665b authored 作者: liupengfei's avatar liupengfei

--no commit message

上级 061d6859
......@@ -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 "
+ "WHERE 1=1 "
+ "WHERE 1=1 and a.status = 1 "
+ "<if test='" + NOTBLANK + "(oid)'>"
+ " and a.id != #{oid} "
+ "</if>"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论