修复date类型对应数据库的类型为datetime

master
星期八 6 years ago
parent 13e7cbf409
commit c1c96d19c1
  1. 2
      src/main/java/com/lq/code/util/sql/MysqlBuilder.java

@ -19,7 +19,7 @@ public class MysqlBuilder extends AbstractDbBuiler {
static {
dataTypeMap.put("class java.lang.String","varchar");
dataTypeMap.put("class java.util.Date","date");
dataTypeMap.put("class java.util.Date","datetime");
dataTypeMap.put("class java.lang.Integer","int");
dataTypeMap.put("class java.lang.Long","int");
}

Loading…
Cancel
Save