Commit b80fae48 authored by yanzg's avatar yanzg

消除成功接收处理

parent 37cd0bcc
...@@ -183,8 +183,7 @@ public class AllBeanRowMapper<T> implements RowMapper<T> { ...@@ -183,8 +183,7 @@ public class AllBeanRowMapper<T> implements RowMapper<T> {
if (this.isMapping) { if (this.isMapping) {
Object value = JdbcUtils.getResultSetValue(rs, index); Object value = JdbcUtils.getResultSetValue(rs, index);
if (value instanceof Date) { if (value instanceof Date) {
String toValue = String.valueOf(value); value = JdbcUtils.getResultSetValue(rs, index, String.class);
value = toValue.replace("T", " ");
} }
((Map) mappedObject).put(getCamelCase(column), value); ((Map) mappedObject).put(getCamelCase(column), value);
} else if (!this.mappedIsFields.containsKey(underscoredName)) { } else if (!this.mappedIsFields.containsKey(underscoredName)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment