From 48c505166d22479b67b3930f364b4e9f80c6b407 Mon Sep 17 00:00:00 2001 From: gaojuan Date: Wed, 13 Oct 2021 17:29:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=8B=E8=BE=BE=E5=8E=BB=E4=BB=B7=E6=A0=BC?= =?UTF-8?q?=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ccbevaluation/BigdataDealBatch.groovy | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/BigdataDealBatch.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/BigdataDealBatch.groovy index f665824f6..7ee409fc9 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/BigdataDealBatch.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/BigdataDealBatch.groovy @@ -486,25 +486,25 @@ class BigdataDealBatch extends BaseBatch{ for(def obj : dbcursor){ if(obj.fjName && ["公寓","联列住宅","花园住宅","别墅","里弄房","新工房","其它"].contains(obj.houseType)){ - - def price = statMap.get(obj.fjRegion+"@"+obj.fjName) - if(price){ - def startPrice = 0 - def endPrice= 0 - if(obj.fjCity=="上海"){ - startPrice = (int)(price - price*0.1) - endPrice = (int)(price*0.5 + price) - }else{ - startPrice = (int)(price - price*0.5) - endPrice = (int)(price*0.5 + price) - } - if(obj.price>=startPrice && obj.price<=endPrice){ - rets << obj; - }else{ - index++ - println index + " "+obj - } - } + rets << obj; +// def price = statMap.get(obj.fjRegion+"@"+obj.fjName) +// if(price){ +// def startPrice = 0 +// def endPrice= 0 +// if(obj.fjCity=="上海"){ +// startPrice = (int)(price - price*0.1) +// endPrice = (int)(price*0.5 + price) +// }else{ +// startPrice = (int)(price - price*0.5) +// endPrice = (int)(price*0.5 + price) +// } +// if(obj.price>=startPrice && obj.price<=endPrice){ +// rets << obj; +// }else{ +// index++ +// println index + " "+obj +// } +// } } } return rets;