فهرست منبع

修复打分判断BUG

SKYVERSATION\root 2 ماه پیش
والد
کامیت
68634c4a32

+ 1 - 1
src/main/java/com/skyversation/poiaddr/service/impl/YyskAddressStandardizationServiceImpl.java

@@ -396,7 +396,7 @@ public class YyskAddressStandardizationServiceImpl {
                 String dbMatchLevel = item.getMatchLevel();
                 boolean ifSearch = true;
                 try {
-                    if (dbMatchLevel.contains("rule_") || Float.parseFloat(dbMatchLevel) > 1.5) {
+                    if (dbMatchLevel.contains("异常") || dbMatchLevel.contains("rule_") || Float.parseFloat(dbMatchLevel) > 1.5) {
                         ifSearch = false;
                     }
                 } catch (Exception e) {