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