From 1be296f789ffd51cf3305c827ba4cff76e0cb949 Mon Sep 17 00:00:00 2001 From: gaojuan Date: Thu, 10 Jun 2021 11:08:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=8F=E5=B7=9E=E5=90=8C=E6=AD=A5=E5=9D=87?= =?UTF-8?q?=E4=BB=B7=E6=97=B6=E9=97=B4=E4=BF=AE=E6=94=B9=EF=BC=8C=E4=BB=8E?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E4=B8=8A=E4=B8=AA=E6=9C=88=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=EF=BC=8C=E6=9C=80=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../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 c2ecb8014..ddfdcb661 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 @@ -76,7 +76,7 @@ class DistrictPriceExportBatch extends BaseBatch{ def createDatas(def city){ def districts = CommonDatautils.findAllDistricts(city, "district", null); - def lastDate = DateUtils.getLastDayOfMonth(new Date(), -1) + def lastDate = new Date() def startDate = DateUtils.getFirstDayOfMonth(lastDate); def result = []