修改个时间
This commit is contained in:
+2
-3
@@ -72,7 +72,7 @@ class FjwBigdataForsaleBatch extends BaseBatch{
|
|||||||
|
|
||||||
|
|
||||||
def lastMonth = DateUtils.addMonth(DateUtils.formatDateByPattern(new Date(), "yyyyMM"), -1, "yyyyMM");
|
def lastMonth = DateUtils.addMonth(DateUtils.formatDateByPattern(new Date(), "yyyyMM"), -1, "yyyyMM");
|
||||||
def curMonth = DateUtils.addMonth(DateUtils.formatDateByPattern(new Date(), "yyyyMM"), 0, "yyyyMM");
|
def curMonth = DateUtils.addMonth(DateUtils.formatDateByPattern(new Date(), "yyyyMM"), -1, "yyyyMM");
|
||||||
|
|
||||||
// 最大重试次数
|
// 最大重试次数
|
||||||
private static final int MAX_TRY_COUNT = 5;
|
private static final int MAX_TRY_COUNT = 5;
|
||||||
@@ -89,9 +89,8 @@ class FjwBigdataForsaleBatch extends BaseBatch{
|
|||||||
|
|
||||||
def cityCodeDataMap = CcbCommonUtils.findCityCodeValue()
|
def cityCodeDataMap = CcbCommonUtils.findCityCodeValue()
|
||||||
|
|
||||||
|
|
||||||
def startDate = lastMonth+"18"
|
def startDate = lastMonth+"18"
|
||||||
def endDate = curMonth+"19"
|
def endDate = curMonth+"19" //正式运行时curMonth要改
|
||||||
println "房源时间:"+startDate+" "+endDate
|
println "房源时间:"+startDate+" "+endDate
|
||||||
|
|
||||||
def houseIdsfilter = findAllHouseIdsByCity()
|
def houseIdsfilter = findAllHouseIdsByCity()
|
||||||
|
|||||||
Reference in New Issue
Block a user