From 984029f8b30d7077aa390529714dcb53aa261919 Mon Sep 17 00:00:00 2001 From: gaojuan Date: Sun, 9 Oct 2022 20:22:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=9F=8E=E5=B8=82=E5=B0=8F?= =?UTF-8?q?=E5=8C=BA=E5=91=A8=E8=BE=B9=E6=8E=92=E5=BA=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ronghe/BigdataCommunityGJRHBatch.groovy | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/ronghe/BigdataCommunityGJRHBatch.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/ronghe/BigdataCommunityGJRHBatch.groovy index 55e4a5fc5..da1a37ff1 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/ronghe/BigdataCommunityGJRHBatch.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/ronghe/BigdataCommunityGJRHBatch.groovy @@ -557,14 +557,21 @@ class BigdataCommunityGJRHBatch extends BaseBatch { def addBigdataPositionGJ(districts, def cityid, citySeqnoMap){ def rets = [] + def num = 0 for(def d : districts) { + num = num + 1 def ret = [] + def detailMap = citySeqnoMap.get(d.cityid) def seqno = findSeqno(d.cityid, d.commid, citySeqnoMap); ret << d.cityid ret << "5" ret << d.commid ret << "1" - ret << seqno + if(detailMap && seqno){ + ret << seqno + }else{ + ret << num + } ret << d.lng ret << d.lat ret << ""