第三方均价展示

This commit is contained in:
xuhe
2022-07-25 17:09:51 +08:00
parent f6c35e52e3
commit f8bf43ba8d
3 changed files with 142 additions and 55 deletions
@@ -187,11 +187,11 @@ public class AverageStatisticsServiceImpl implements AverageStatisticsService {
Integer zhongyuanPrice = (Integer) dataMap.get("zhongyuan_price");
if(null == zhongyuanPrice){
if (isValid(entity.getCentanetEsfPrice())) {
dataMap.put("zhongyuan_price", entity.getCentanetEsfPrice());
if (isValid(entity.getZhongyuanEsfPrice())) {
dataMap.put("zhongyuan_price", entity.getZhongyuanEsfPrice());
}else{
if(isValid(entity.getCentanetNewPrice())){
dataMap.put("zhongyuan_price", entity.getCentanetNewPrice());
if(isValid(entity.getZhongyuanNewPrice())){
dataMap.put("zhongyuan_price", entity.getZhongyuanNewPrice());
}
}
}