新增城市小区周边排序问题

This commit is contained in:
2022-10-09 20:22:44 +08:00
parent 8835cb99f0
commit 984029f8b3
@@ -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 << ""