diff --git a/build.gradle.kts b/build.gradle.kts index 0a5ddfc..1d9c83c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,4 @@ import org.jetbrains.changelog.Changelog -import org.jetbrains.changelog.markdownToHTML import org.jetbrains.intellij.platform.gradle.TestFrameworkType plugins { diff --git a/src/main/java/com/github/maiqingqiang/goormhelper/sql2struct/impl/SQL2GormStruct.java b/src/main/java/com/github/maiqingqiang/goormhelper/sql2struct/impl/SQL2GormStruct.java index 4c1db3e..fa264c9 100644 --- a/src/main/java/com/github/maiqingqiang/goormhelper/sql2struct/impl/SQL2GormStruct.java +++ b/src/main/java/com/github/maiqingqiang/goormhelper/sql2struct/impl/SQL2GormStruct.java @@ -25,7 +25,7 @@ protected void generateORMTag(@NotNull StringBuilder stringBuilder, @NotNull SQL stringBuilder.append("primaryKey;"); } - if (definition.containsNotNullConstaint()) { + if (definition.containsNotNullConstraint()) { stringBuilder.append("not null;"); }