时间修改
This commit is contained in:
+6
-4
@@ -54,6 +54,10 @@ class DealPriceMathBatch extends BaseBatch{
|
||||
|
||||
|
||||
def flag = true;
|
||||
|
||||
def startDate = DateUtil.getFirstDayOfMonth(new Date(),-1)
|
||||
def endDate = DateUtil.getFirstDayOfMonth(new Date(), 1)
|
||||
|
||||
cityMap.each{city,alias->
|
||||
println "开始加载【${city}】小区"
|
||||
if(city != "昆玉"){
|
||||
@@ -61,10 +65,8 @@ class DealPriceMathBatch extends BaseBatch{
|
||||
districtMap.putAll(detailMap)
|
||||
}
|
||||
}
|
||||
def startDate = DateUtil.getFirstDayOfMonth(DateUtil.parseDate("2020-01-01","yyyy-MM-dd"))
|
||||
// def startDate = DateUtil.getFirstDayOfMonth(new Date())
|
||||
// def endDate = DateUtil.getFirstDayOfMonth(new Date(), 1)
|
||||
def endDate = DateUtil.getFirstDayOfMonth(DateUtil.parseDate("2021-04-30","yyyy-MM-dd"))
|
||||
// def startDate = DateUtil.getFirstDayOfMonth(DateUtil.parseDate("2020-01-01","yyyy-MM-dd"))
|
||||
// def endDate = DateUtil.getFirstDayOfMonth(DateUtil.parseDate("2021-04-30","yyyy-MM-dd"))
|
||||
|
||||
while(flag){
|
||||
println "开始加载解析数据......"
|
||||
|
||||
Reference in New Issue
Block a user