Skip to content

Commit 1bd2fbe

Browse files
committed
refactor: 优化
Signed-off-by: zhouhao <[email protected]>
1 parent 41f874c commit 1bd2fbe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hsweb-easy-orm-rdb/src/main/java/org/hswebframework/ezorm/rdb/mapping/defaults/DefaultRepository.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ public String[] getProperties() {
7777
.stream()
7878
.filter(kv -> getTable().getColumn(kv.getKey()).isPresent())
7979
.map(Map.Entry::getValue)
80+
.distinct()
8081
.toArray(String[]::new);
8182
}
8283
return properties;

0 commit comments

Comments
 (0)