diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/thirdPriceCrawl/ThirdDataToGatherBatch.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/thirdPriceCrawl/ThirdDataToGatherBatch.groovy index 5f96db29c..3f598a077 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/thirdPriceCrawl/ThirdDataToGatherBatch.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/thirdPriceCrawl/ThirdDataToGatherBatch.groovy @@ -19,7 +19,7 @@ import java.util.concurrent.Executors @BatchOwner(Watcher.GaoJuan) class ThirdDataToGatherBatch extends BaseBatch{ - def static final SHORT_DATE = Utils.getLastMonth() + def static final SHORT_DATE = 202107//Utils.getLastMonth() def static final DBCollection dataProcessColl = CrawalDBUtil.getDataProcessCol(); //MongoUtils.getMongoDBByAuth().getCollection("data_process") def static final DBCollection AVERAGE_STATISTICS_OFFLINE = CrawalDBUtil.getAverage_statistics_col(); @@ -43,6 +43,7 @@ class ThirdDataToGatherBatch extends BaseBatch{ void process(Object args) { def citys = CommonDatautils.findAllCity(); def weekend = DateUtils.getFirstDayOfWeek(new Date()); + //def weekend = DateUtils.getFirstDayOfWeek(DateUtils.parseFromTightYYYYMMDD("2021-07-15")); def cityIndex = 0; final CountDownLatch latch = new CountDownLatch(citys.size()) citys.each { city ->