mirror of
https://github.com/201206030/novel.git
synced 2025-04-27 07:30:50 +00:00
爬虫优化
This commit is contained in:
parent
45abe9745a
commit
50d60c6a17
@ -965,7 +965,7 @@ public class BookCrawlServiceImpl implements BookCrawlService {
|
||||
|
||||
Long bookId = books.get(0).getId();
|
||||
Map<String, Object> bookIndexExample = new HashMap<>();
|
||||
bookExample.put("bookId", bookId);
|
||||
bookIndexExample.put("bookId", bookId);
|
||||
List<BookIndexDO> bookIndices = bookIndexDao.list(bookIndexExample);
|
||||
if (bookIndices != null && bookIndices.size() > 0) {
|
||||
for (BookIndexDO bookIndex : bookIndices) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user