移除2B价格
This commit is contained in:
-9
@@ -1104,16 +1104,7 @@ public class PropertyController {
|
||||
districtPriceMap.put("credit", evaluation.getCredit());
|
||||
districtPriceMap.put("id", evaluation.getId());
|
||||
}
|
||||
|
||||
ApiUserCfg cfg = apiUserCfgService.findByUserId(Long.valueOf(evaluation.getFromUserId()), ApiUserCfg.ApiUserCfgKey.PRICE_TYPE);
|
||||
if(cfg != null &&cfg.getCfgValue() != null && StringUtils.equalsIgnoreCase("2B", cfg.getCfgValue().toString())){
|
||||
if(evaluation != null && evaluation.getAvgPrice2b() != 0){
|
||||
districtPriceMap.put("avgPrice", evaluation.getAvgPrice2b());
|
||||
}
|
||||
}
|
||||
|
||||
mav.setModel(BasicModel.buildOKModel().setResult(districtPriceMap));
|
||||
|
||||
try{
|
||||
if(StringUtils.isNotBlank(evaluation.getFromUserId()) && !evaluation.getFromUserId().equals("1007497")){
|
||||
openApiLogService.saveLog(CommonUtils.convertToMap(model), districtPriceMap, evaluation, "/property/evaluate");
|
||||
|
||||
Reference in New Issue
Block a user