Merge branch 'script_gj' into 'master'
Script gj See merge request !129
This commit is contained in:
-1
@@ -782,7 +782,6 @@ class DataStandardBatch extends BaseBatch{
|
||||
def findAllNoMatchData(){
|
||||
DBObject qdata = new BasicDBObject();
|
||||
qdata.put("s_date", SHORT_DATE)
|
||||
// qdata.put("name", "银河湾花园(别墅)")
|
||||
qdata.put("status", new BasicDBObject(QueryOperators.EXISTS, false));
|
||||
def ret = []
|
||||
try{
|
||||
|
||||
+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