|
@@ -9,6 +9,7 @@ import com.tzld.piaoquan.longarticle.model.po.longarticle.*;
|
|
|
import com.tzld.piaoquan.longarticle.service.remote.MatchService;
|
|
|
import com.tzld.piaoquan.longarticle.utils.LarkRobotUtil;
|
|
|
import com.tzld.piaoquan.longarticle.utils.other.*;
|
|
|
+import com.tzld.piaoquan.longarticle.utils.page.Page;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -279,6 +280,7 @@ public class CrawlerVideoServiceImpl {
|
|
|
CrawlerVideoExample example = new CrawlerVideoExample();
|
|
|
example.createCriteria().andContentIdEqualTo(contentId).andDownloadStatusEqualTo(0);
|
|
|
example.setOrderByClause("score desc");
|
|
|
+ example.setPage(new Page(1,MAX_NUM));
|
|
|
List<CrawlerVideo> crawlerVideoList = crawlerVideoMapper.selectByExampleWithBLOBs(example);
|
|
|
if (CollectionUtils.isEmpty(crawlerVideoList)) {
|
|
|
return false;
|