mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
refactor: optimize JdbcTypeMapping.java
This commit is contained in:
parent
52c50803c9
commit
26a887e66f
@ -70,7 +70,7 @@ public class JdbcTypeMapping {
|
|||||||
registerMapping("java.time.LocalDate", "java.util.Date");
|
registerMapping("java.time.LocalDate", "java.util.Date");
|
||||||
}
|
}
|
||||||
|
|
||||||
static String getType(String jdbcType, Table table, Column column) {
|
public static String getType(String jdbcType, Table table, Column column) {
|
||||||
if (typeMapper != null) {
|
if (typeMapper != null) {
|
||||||
String type = typeMapper.getType(jdbcType, table, column);
|
String type = typeMapper.getType(jdbcType, table, column);
|
||||||
if (StringUtil.isNotBlank(type)) {
|
if (StringUtil.isNotBlank(type)) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user