|
|
@@ -36,8 +36,12 @@ public class SpiderContentFeishuJob {
|
|
|
|
|
|
@XxlJob("spiderContentFeishuJob")
|
|
|
public ReturnT<String> spiderContentFeishuJob(String param) {
|
|
|
+ Long startTime = DateUtils.getBeforeDayStart(1);
|
|
|
+ Long endTime = startTime + 86400 * 1000;
|
|
|
SpiderContentExample example = new SpiderContentExample();
|
|
|
- example.createCriteria().andStatusIn(Lists.newArrayList(2, 3)).andAiRoughStatusEqualTo(1);
|
|
|
+ example.createCriteria().andStatusIn(Lists.newArrayList(2, 3))
|
|
|
+ .andAiRoughStatusEqualTo(1)
|
|
|
+ .andCreateTimeBetween(startTime, endTime);
|
|
|
List<SpiderContent> dataList = spiderContentMapper.selectByExampleWithBLOBs(example);
|
|
|
if (CollectionUtil.isEmpty(dataList)) {
|
|
|
return ReturnT.SUCCESS;
|