Skip to content

Commit

Permalink
Merge pull request #95 from DataLinkDC/dev
Browse files Browse the repository at this point in the history
修复预览数据类型
  • Loading branch information
aiwenmo authored Jan 16, 2022
2 parents db02941 + 6513a17 commit 6cf52e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dlink-core/src/main/java/com/dlink/result/ResultRunnable.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ private void catchChangLog(SelectResult selectResult) {
if (field == null) {
map.put(columns.get(i + 1), nullColumn);
} else {
map.put(columns.get(i + 1), StringUtils.arrayAwareToString(field));
map.put(columns.get(i + 1), field);
}
}
rows.add(map);
Expand All @@ -95,7 +95,7 @@ private void catchData(SelectResult selectResult) {
if (field == null) {
map.put(columns.get(i), nullColumn);
} else {
map.put(columns.get(i), StringUtils.arrayAwareToString(field));
map.put(columns.get(i), field);
}
}
if (RowKind.UPDATE_BEFORE == row.getKind() || RowKind.DELETE == row.getKind()) {
Expand Down

0 comments on commit 6cf52e0

Please sign in to comment.