From 25771dc1a51bc3d9825a0ea9f04cf4cc00e34eaf Mon Sep 17 00:00:00 2001 From: gaojuan Date: Sat, 8 Apr 2023 22:54:15 +0800 Subject: [PATCH] update bug --- .../ccbevaluation/ronghe/BigdataCitypriceBatch.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/ronghe/BigdataCitypriceBatch.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/ronghe/BigdataCitypriceBatch.groovy index fe7480709..9ed8300cc 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/ronghe/BigdataCitypriceBatch.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/ronghe/BigdataCitypriceBatch.groovy @@ -502,7 +502,7 @@ class BigdataCitypriceBatch extends BaseBatch{ def dataMap = allLastYearMap.get(dist._id.toString()) if(dataMap && dataMap.saleprice){ yoy = (sell_avg_price - dataMap.saleprice)*100/dataMap.saleprice - yoy = DataHandleUtils.getDoubleRound(2, markup) + yoy = DataHandleUtils.getDoubleRound(2, yoy) } } row << yoy @@ -527,7 +527,7 @@ class BigdataCitypriceBatch extends BaseBatch{ def dataMap = allLastYearMap.get(dist._id.toString()) if(dataMap && dataMap.salecount){ yoy = (sell_count - dataMap.salecount)*100/dataMap.salecount - yoy = DataHandleUtils.getDoubleRound(2, markup) + yoy = DataHandleUtils.getDoubleRound(2, yoy) } } row << yoy @@ -552,7 +552,7 @@ class BigdataCitypriceBatch extends BaseBatch{ def dataMap = allLastYearMap.get(dist._id.toString()) if(dataMap && dataMap.salecount && dataMap.rentcount>0){ yoy = (rent_count - dataMap.rentcount)*100/dataMap.rentcount - yoy = DataHandleUtils.getDoubleRound(2, markup) + yoy = DataHandleUtils.getDoubleRound(2, yoy) } } row << yoy