|
|
@@ -38,6 +38,9 @@ public class SpiderContentFeishuJob {
|
|
|
@XxlJob("spiderContentFeishuJob")
|
|
|
public ReturnT<String> spiderContentFeishuJob(String param) {
|
|
|
Long startTime = DateUtils.getBeforeDayStart(1);
|
|
|
+ if (StringUtils.isNotBlank(param)) {
|
|
|
+ startTime = DateUtils.getStartOfDay(param, "yyyyMMdd");
|
|
|
+ }
|
|
|
Long endTime = startTime + 86400 * 1000;
|
|
|
SpiderContentExample example = new SpiderContentExample();
|
|
|
example.createCriteria().andStatusIn(Lists.newArrayList(2, 3))
|