Merge branch 'script_gj' into 'master'
新增城市小区周边排序问题 See merge request !393
This commit is contained in:
+8
-1
@@ -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 << ""
|
||||
|
||||
Reference in New Issue
Block a user