Skip to content

Commit 61ea99e

Browse files
committed
Fix #136 and upgrade to 1.1.6
1 parent e2f3a35 commit 61ea99e

File tree

5 files changed

+6348
-6328
lines changed

5 files changed

+6348
-6328
lines changed

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<dependency>
1414
<groupId>io.patamon.geocoding</groupId>
1515
<artifactId>geocoding</artifactId>
16-
<version>1.1.5</version>
16+
<version>1.1.6</version>
1717
</dependency>
1818
</dependencies>
1919

@@ -25,13 +25,6 @@
2525
</repository>
2626
</repositories>
2727
```
28-
29-
## Release Log
30-
31-
* 1.1.3
32-
* 新增自定义地址设置
33-
* 1.1.4
34-
* 修复一些匹配错误的bug
3528

3629
# 1. 数据测试
3730

@@ -160,6 +153,16 @@ Address(
160153

161154
项目参考[address-semantic-search][4],简化了流程,修复了各种不规则错误,使得使用更加方便。
162155

156+
157+
## Release Log
158+
159+
* 1.1.3
160+
* 新增自定义地址设置
161+
* 1.1.4
162+
* 修复一些匹配错误的bug
163+
* 1.1.6
164+
* 升级地址库和包版本, 修复一些匹配错误的地址
165+
163166
[1]:https://lsp.wuliu.taobao.com/locationservice/addr/output_address_town.do
164167
[2]:http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/2015/index.html
165168
[3]:https://github.com/kakuilan/china_area_mysql

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
<groupId>io.patamon.geocoding</groupId>
88
<artifactId>geocoding</artifactId>
9-
<version>1.1.5</version>
9+
<version>1.1.6</version>
1010

1111
<properties>
1212
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1313
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
14-
<kotlin.version>1.3.72</kotlin.version>
14+
<kotlin.version>1.4.10</kotlin.version>
1515
<lucene.version>8.5.2</lucene.version>
1616
<word.version>1.3</word.version>
1717
<gson.version>2.8.6</gson.version>

src/main/java/io/patamon/geocoding/model/RegionEntity.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,8 @@ open class RegionEntity : Serializable {
6969
override fun hashCode(): Int {
7070
return this.id.hashCode()
7171
}
72+
73+
override fun toString(): String {
74+
return "${this.id}:${this.name}"
75+
}
7276
}

0 commit comments

Comments
 (0)