From c5800012df538f016516a105c4f96e21de553950 Mon Sep 17 00:00:00 2001 From: gaojuan Date: Thu, 10 Jun 2021 11:20:48 +0800 Subject: [PATCH] update --- .../com/fangjia/script/fuzhou/DistrictPriceExportBatch.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/fuzhou/DistrictPriceExportBatch.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/fuzhou/DistrictPriceExportBatch.groovy index ddfdcb661..87a2d9962 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/fuzhou/DistrictPriceExportBatch.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/fuzhou/DistrictPriceExportBatch.groovy @@ -77,7 +77,7 @@ class DistrictPriceExportBatch extends BaseBatch{ def districts = CommonDatautils.findAllDistricts(city, "district", null); def lastDate = new Date() - def startDate = DateUtils.getFirstDayOfMonth(lastDate); + def startDate = DateUtils.getFirstDayOfMonth(lastDate, -1) def result = [] for(def rMap : districts){