添加听书人数
This commit is contained in:
@@ -148,11 +148,11 @@ public class HomeController {
|
||||
List<Map<String,Object>> list = toLableService.listMaps(wrapper);
|
||||
for (Map<String, Object> map : list) {
|
||||
int readCount = bookReadRateService.count(new LambdaQueryWrapper<BookReadRateEntity>()
|
||||
.eq(BookReadRateEntity::getBookId,params.get("bookId")));
|
||||
.eq(BookReadRateEntity::getBookId,map.get("bookId")));
|
||||
int buyCount = userEbookBuyService.count(new LambdaQueryWrapper<UserEbookBuyEntity>()
|
||||
.eq(UserEbookBuyEntity::getBookId,params.get("bookId")));
|
||||
.eq(UserEbookBuyEntity::getBookId,map.get("bookId")));
|
||||
int listenCount = bookListeningService.count(new LambdaQueryWrapper<BookListeningEntity>()
|
||||
.eq(BookListeningEntity::getBookId,params.get("bookId")));
|
||||
.eq(BookListeningEntity::getBookId,map.get("bookId")));
|
||||
map.put("readCount",readCount);
|
||||
map.put("buyCount",buyCount);
|
||||
map.put("listenCount",listenCount);
|
||||
|
||||
Reference in New Issue
Block a user