From dff60bc721754a09fc2cd530bb75aa7bf9c01810 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期三, 28 四月 2021 19:49:44 +0800
Subject: [PATCH] Bilibili集成完善

---
 src/main/java/com/yeshi/buwan/dao/juhe/bilibili/BilibiliEpInfoDao.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/yeshi/buwan/dao/juhe/bilibili/BilibiliEpInfoDao.java b/src/main/java/com/yeshi/buwan/dao/juhe/bilibili/BilibiliEpInfoDao.java
index d6ca8f9..d2f4131 100644
--- a/src/main/java/com/yeshi/buwan/dao/juhe/bilibili/BilibiliEpInfoDao.java
+++ b/src/main/java/com/yeshi/buwan/dao/juhe/bilibili/BilibiliEpInfoDao.java
@@ -85,7 +85,7 @@
     public List<BilibiliEpInfo> listByMediaId(Long mediaId, int start, int count) {
         Query query = new Query();
         query.addCriteria(Criteria.where("mediaId").is(mediaId));
-        query.with(new Sort(new Sort.Order(Sort.Direction.ASC, "pub_time")));
+        query.with(new Sort(new Sort.Order(Sort.Direction.ASC, "_id")));
         query.skip(start);
         query.limit(count);
         return findList(query);

--
Gitblit v1.8.0