Merge branch 'script_gj' into 'master'
融合房源时间修改为动态 See merge request !622
This commit is contained in:
+2
-1
@@ -34,6 +34,7 @@ class ExportDistrictRongHe extends BaseBatch{
|
|||||||
@Override
|
@Override
|
||||||
void process(Object args) {
|
void process(Object args) {
|
||||||
def queryDate = DateUtils.addMonth(DateUtils.formatDateByPattern(new Date(), "yyyyMM"), -1, "yyyyMM").toInteger()
|
def queryDate = DateUtils.addMonth(DateUtils.formatDateByPattern(new Date(), "yyyyMM"), -1, "yyyyMM").toInteger()
|
||||||
|
def houseStartDate = DateUtils.formatDateByPattern(DateUtils.getFirstDayOfMonth(new Date(), -1), "yyyy-MM-dd")
|
||||||
|
|
||||||
|
|
||||||
citys = CcbCommonUtils.getRunningCitys(args)
|
citys = CcbCommonUtils.getRunningCitys(args)
|
||||||
@@ -76,7 +77,7 @@ class ExportDistrictRongHe extends BaseBatch{
|
|||||||
// exportBigdataModelingBase(lastMonth)
|
// exportBigdataModelingBase(lastMonth)
|
||||||
|
|
||||||
//2月8号 临时导出苏州一年的数据
|
//2月8号 临时导出苏州一年的数据
|
||||||
exportPgBigdataForsale("2023-03-01",DateUtils.formatDateByPattern(DateUtils.getFirstDayOfMonth(new Date()), "yyyy-MM-dd"),new_dists)//融合按发布时间导,估值按updatetime导出
|
exportPgBigdataForsale(houseStartDate,DateUtils.formatDateByPattern(DateUtils.getFirstDayOfMonth(new Date()), "yyyy-MM-dd"),new_dists)//融合按发布时间导,估值按updatetime导出
|
||||||
}
|
}
|
||||||
|
|
||||||
if(curDate.toString().endsWith("28")){
|
if(curDate.toString().endsWith("28")){
|
||||||
|
|||||||
Reference in New Issue
Block a user