修改判断

This commit is contained in:
2023-12-14 12:51:53 +08:00
parent 422de2e478
commit 83ffce9cca
@@ -225,7 +225,7 @@ public class DistrictTriggerServiceImpl implements TriggerService {
} }
// 是否有二手房 // 是否有二手房
if (districtHouseMap.get(districtKey) != null && districtHouseMap.get(districtKey).getSellCount() != null) { if (districtHouseMap.get(districtKey) != null && districtHouseMap.get(districtKey).getSellCount() != null && districtHouseMap.get(districtKey).getSellCount()!=0) {
newObj.put("if_sell", 1); newObj.put("if_sell", 1);
} else { } else {
newObj.put("if_sell", 0); newObj.put("if_sell", 0);