Commit f6bfcfb019dda28bba97f6b75e0abdaab93a9ce8
1 parent
f9e34ac6
Exists in
master
fix a bug about BIT
Showing
6 changed files
with
6 additions
and
6 deletions
Show diff stats
.classpath
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <classpath> | 2 | <classpath> |
3 | - <classpathentry kind="src" path="src/main/java"> | 3 | + <classpathentry kind="src" output="bin/main" path="src/main/java"> |
4 | <attributes> | 4 | <attributes> |
5 | <attribute name="gradle_scope" value="main"/> | 5 | <attribute name="gradle_scope" value="main"/> |
6 | <attribute name="gradle_used_by_scope" value="main,test"/> | 6 | <attribute name="gradle_used_by_scope" value="main,test"/> |
7 | </attributes> | 7 | </attributes> |
8 | </classpathentry> | 8 | </classpathentry> |
9 | - <classpathentry kind="src" path="src/main/resources"> | 9 | + <classpathentry kind="src" output="bin/main" path="src/main/resources"> |
10 | <attributes> | 10 | <attributes> |
11 | <attribute name="gradle_scope" value="main"/> | 11 | <attribute name="gradle_scope" value="main"/> |
12 | <attribute name="gradle_used_by_scope" value="main,test"/> | 12 | <attribute name="gradle_used_by_scope" value="main,test"/> |
@@ -14,5 +14,5 @@ | @@ -14,5 +14,5 @@ | ||
14 | </classpathentry> | 14 | </classpathentry> |
15 | <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/> | 15 | <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/> |
16 | <classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/> | 16 | <classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/> |
17 | - <classpathentry kind="output" path="bin"/> | 17 | + <classpathentry kind="output" path="bin/default"/> |
18 | </classpath> | 18 | </classpath> |
build.gradle
@@ -55,7 +55,7 @@ uploadArchives { | @@ -55,7 +55,7 @@ uploadArchives { | ||
55 | authentication(userName: NEXUS_USERNAME, password: NEXUS_PASSWORD) | 55 | authentication(userName: NEXUS_USERNAME, password: NEXUS_PASSWORD) |
56 | } | 56 | } |
57 | pom.project { | 57 | pom.project { |
58 | - version '1.2.13' | 58 | + version '1.2.14' |
59 | artifactId ARTIFACT_Id | 59 | artifactId ARTIFACT_Id |
60 | groupId GROUP_ID | 60 | groupId GROUP_ID |
61 | packaging TYPE | 61 | packaging TYPE |
build/classes/java/main/com/taover/codegenerate/db/TableColumn.class
No preview for this file type
build/classes/java/main/com/taover/codegenerate/model/bussiness/EnvironmentModel.class
No preview for this file type
build/classes/java/main/com/taover/codegenerate/tools/StringUtil.class
No preview for this file type
src/main/java/com/taover/codegenerate/core/MysqlTableColumn.java
@@ -360,11 +360,11 @@ public class MysqlTableColumn { | @@ -360,11 +360,11 @@ public class MysqlTableColumn { | ||
360 | } | 360 | } |
361 | 361 | ||
362 | public String getJAVADataType() { | 362 | public String getJAVADataType() { |
363 | - switch (this.typeName) { | ||
364 | - case "BIT": | 363 | + switch (this.typeName) { |
365 | case "BOOL": | 364 | case "BOOL": |
366 | case "BOOLEAN": | 365 | case "BOOLEAN": |
367 | return "java.lang.Boolean"; | 366 | return "java.lang.Boolean"; |
367 | + case "BIT": | ||
368 | case "TINYINT": | 368 | case "TINYINT": |
369 | case "TINYINT UNSIGNED": | 369 | case "TINYINT UNSIGNED": |
370 | case "SMALLINT": | 370 | case "SMALLINT": |