Merge branch 'script_gj' into 'master'

优化匹配接口空指针异常

See merge request !1192
This commit is contained in:
2025-11-16 10:36:17 +08:00
@@ -345,7 +345,7 @@ public class AddressParserServiceImpl implements AddressParserService {
district = districtService.findById(district.getId(), MATCH_PROPERTY_FIELDS);
}
if(district == null){
logger.error("未找到匹配的CPDB数据:" + addr + "ID:" + district.getId());
logger.error("未找到匹配的CPDB数据:" + addr + "ID:" + matchedMate.getId());
}
return new Building(district, scoreResult.getScore(matchedMate));
}else{