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 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <classpath> |
3 | - <classpathentry kind="src" path="src/main/java"> | |
3 | + <classpathentry kind="src" output="bin/main" path="src/main/java"> | |
4 | 4 | <attributes> |
5 | 5 | <attribute name="gradle_scope" value="main"/> |
6 | 6 | <attribute name="gradle_used_by_scope" value="main,test"/> |
7 | 7 | </attributes> |
8 | 8 | </classpathentry> |
9 | - <classpathentry kind="src" path="src/main/resources"> | |
9 | + <classpathentry kind="src" output="bin/main" path="src/main/resources"> | |
10 | 10 | <attributes> |
11 | 11 | <attribute name="gradle_scope" value="main"/> |
12 | 12 | <attribute name="gradle_used_by_scope" value="main,test"/> |
... | ... | @@ -14,5 +14,5 @@ |
14 | 14 | </classpathentry> |
15 | 15 | <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/> |
16 | 16 | <classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/> |
17 | - <classpathentry kind="output" path="bin"/> | |
17 | + <classpathentry kind="output" path="bin/default"/> | |
18 | 18 | </classpath> | ... | ... |
build.gradle
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 | 360 | } |
361 | 361 | |
362 | 362 | public String getJAVADataType() { |
363 | - switch (this.typeName) { | |
364 | - case "BIT": | |
363 | + switch (this.typeName) { | |
365 | 364 | case "BOOL": |
366 | 365 | case "BOOLEAN": |
367 | 366 | return "java.lang.Boolean"; |
367 | + case "BIT": | |
368 | 368 | case "TINYINT": |
369 | 369 | case "TINYINT UNSIGNED": |
370 | 370 | case "SMALLINT": | ... | ... |