|
@@ -81,7 +81,7 @@ public class YyskAddressStandardizationServiceImpl {
|
|
|
likeStr = hjdz.substring(0,matcher.start());
|
|
|
}
|
|
|
String sql = "select sourceaddress,city,county,town,community from \n" + Constant.getSearchTableName() +
|
|
|
- " where county = '松江区' and town is not null and sourceaddress like '%"+likeStr+"%' limit 1";
|
|
|
+ " where is_delete != 1 and county = '松江区' and town is not null and sourceaddress like '%"+likeStr+"%' limit 1";
|
|
|
|
|
|
List<Map<String, Object>> dbData = DbConnection.getInstance().runSqlStr(sql);
|
|
|
if(dbData != null && dbData.size() == 1){
|