update
This commit is contained in:
+2
-1
@@ -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 ->
|
||||
|
||||
Reference in New Issue
Block a user