澄迈特殊处理
This commit is contained in:
+3
-1
@@ -720,7 +720,7 @@ class BigdataDealBatch extends BaseBatch{
|
|||||||
if(!t.match_id){
|
if(!t.match_id){
|
||||||
def region = RegionData.formatRegion(t.city, t.region)
|
def region = RegionData.formatRegion(t.city, t.region)
|
||||||
def rMap = null
|
def rMap = null
|
||||||
if(region) {
|
if(region || (!region && ["澄迈"].contains(t.city))) {
|
||||||
if(t.house_use && t.house_use.contains("商住")){
|
if(t.house_use && t.house_use.contains("商住")){
|
||||||
if(!t.name.contains("商住")){
|
if(!t.name.contains("商住")){
|
||||||
t.name = t.name +"商住楼"
|
t.name = t.name +"商住楼"
|
||||||
@@ -744,6 +744,8 @@ class BigdataDealBatch extends BaseBatch{
|
|||||||
CcbCommonUtils.updateDealPrice(t._id, rMap.city, rMap.region, rMap.name, rMap.id)
|
CcbCommonUtils.updateDealPrice(t._id, rMap.city, rMap.region, rMap.name, rMap.id)
|
||||||
}else if(rMap && rMap.address && address && rMap.region!=region && address.contains(rMap.address)){
|
}else if(rMap && rMap.address && address && rMap.region!=region && address.contains(rMap.address)){
|
||||||
CcbCommonUtils.updateDealPrice(t._id, rMap.city, rMap.region, rMap.name, rMap.id)
|
CcbCommonUtils.updateDealPrice(t._id, rMap.city, rMap.region, rMap.name, rMap.id)
|
||||||
|
}else if (rMap && ["澄迈"].contains(rMap.city)){
|
||||||
|
CcbCommonUtils.updateDealPrice(t._id, rMap.city, rMap.region, rMap.name, rMap.id)
|
||||||
}else{
|
}else{
|
||||||
if (rMap) {
|
if (rMap) {
|
||||||
println "区域不同"
|
println "区域不同"
|
||||||
|
|||||||
Reference in New Issue
Block a user