作家后台小说列表新增昨日订阅量统计

This commit is contained in:
xiongxiaoyang
2020-11-09 18:18:27 +08:00
parent 04d3aef82b
commit beba6e5154
9 changed files with 205 additions and 168 deletions

View File

@ -488,7 +488,7 @@ public class BookServiceImpl implements BookService {
PageHelper.startPage(page, pageSize);
SelectStatementProvider selectStatement = select(id, bookName, visitCount, lastIndexName, status)
SelectStatementProvider selectStatement = select(id, bookName, visitCount, yesterdayBuy,lastIndexName, status)
.from(book)
.where(authorId, isEqualTo(authorService.queryAuthor(userId).getId()))
.orderBy(BookDynamicSqlSupport.createTime.descending())