修改变量拼写

master
星期八 5 years ago
parent 60515da1ee
commit 26711cb7bc
  1. 5
      panda-jdbc/src/main/java/org/panda/jdbc/TableUtil.java

@ -46,12 +46,11 @@ public class TableUtil {
Column column = new Column();
if (field.isAnnotationPresent(org.panda.jdbc.annotation.Column.class)){
org.panda.jdbc.annotation.Column annotationColumn = field.getAnnotation(org.panda.jdbc.annotation.Column.class);
int length = annotationColumn.length();
String defalutValue = annotationColumn.defaultValue();
String defaultValue = annotationColumn.defaultValue();
boolean isNull = annotationColumn.isNull();
column.setColumnSize(length);
column.setColumnDef(defalutValue);
column.setColumnDef(defaultValue);
column.setColumnName(BeanSqlUtil.caseToHump(field.getName()));
column.setNull(isNull);
}

Loading…
Cancel
Save