From 31edd0140e93e8330ef57a5772f2bbb36df556d8 Mon Sep 17 00:00:00 2001 From: gaojuan Date: Sat, 22 Jun 2024 10:25:14 +0800 Subject: [PATCH] up --- .../script/gj/data_handle/PoiLocation.groovy | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/data_handle/PoiLocation.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/data_handle/PoiLocation.groovy index 45520fd29..b83df941e 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/data_handle/PoiLocation.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/data_handle/PoiLocation.groovy @@ -67,8 +67,8 @@ class PoiLocation { index++ def datas = checkData(index, rets) // updateToEs(datas) - updateToEs2(datas) - updateToMG(datas) +// updateToEs2(datas) +// updateToMG(datas) rets = [] print "." } @@ -92,6 +92,10 @@ class PoiLocation { if(map.update_status && map.update_status!=100){ println "[ ${index} ]"+d.city +" "+totalCount.get() +"/"+rets.size()+" "+map.id+" "+d.district+" 原:"+d.township+" 新:"+map.township } + if (map.update_status && map.update_status !=100) { + updateMapPoi(map.id, map.township) + } + updateToMG(map) } catch (Exception e) { e.printStackTrace() println d.city +" "+d.name @@ -300,10 +304,10 @@ class PoiLocation { } - def updateToMG(rows){ - def rets = [] - for(def i=0;i if(k!="id"){ @@ -318,7 +322,7 @@ class PoiLocation { println m.toString()+" 无法修改-无值" } - } +// } } }