From 27f27c2f0fdda9411151fe23c3a441ef5f62dd7c Mon Sep 17 00:00:00 2001 From: gaojuan1 Date: Thu, 19 Dec 2024 11:31:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=BE=93=E5=87=BA=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fangjia/script/gj/data_handle/NewGaoDePoiBatch.groovy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/data_handle/NewGaoDePoiBatch.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/data_handle/NewGaoDePoiBatch.groovy index fa7fa0ac7..60ff6fe3c 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/data_handle/NewGaoDePoiBatch.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/data_handle/NewGaoDePoiBatch.groovy @@ -365,6 +365,7 @@ class NewGaoDePoiBatch extends BaseBatch{ if (CommonDatautils.isWindow()) { fileName = "D:\\Êý¾Ý\\merge_poi\\${cityObj.city}.csv" } + println fileName File file=new File(fileName); if(file.exists()){ def results = readCSV(fileName) @@ -373,6 +374,8 @@ class NewGaoDePoiBatch extends BaseBatch{ def megerMap = poiRepeat(cityObj.city, results) save(megerMap.values()) } + }else{ + println fileName +" ²»´æÔÚ" } } }