新增区域排名
This commit is contained in:
+6
@@ -2335,6 +2335,10 @@ public class PropertyController {
|
||||
int total = Integer.valueOf(rankDesc[1]);
|
||||
UniversalDto dto = new UniversalDto();
|
||||
dto.append("relativeRank", DataUtil.roundDouble(((total - rank) / (double) total) * 100, 2));
|
||||
|
||||
if(null != districtAnalyData.getRegionRank()){
|
||||
dto.append("regionRelativeRank", DataUtil.roundDouble(((districtAnalyData.getRegionRankTotal() - districtAnalyData.getRegionRank()) / (double) districtAnalyData.getRegionRankTotal()) * 100, 2));
|
||||
}
|
||||
mav.setModel(BasicModel.buildOKModel().setResult(dto));
|
||||
} else {
|
||||
mav.setModel(BasicModel.buildOKModel().setMsg("暂无该小区排名信息"));
|
||||
@@ -2343,6 +2347,8 @@ public class PropertyController {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 小区成交记录查询
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user