diff --git a/mybatis-enhance-actable/.classpath b/mybatis-enhance-actable/.classpath
index 4753f69fbc0a7a41a162085954eaa9967ccd5077..e362f3bad1f53a53403035409ec4acb3df65f250 100644
--- a/mybatis-enhance-actable/.classpath
+++ b/mybatis-enhance-actable/.classpath
@@ -1,27 +1,41 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mybatis-enhance-actable/.project b/mybatis-enhance-actable/.project
index b38abaaf6b928272682078716dfd956c350623bf..a1411554806a31c512452830ea6903b44bcacd6a 100644
--- a/mybatis-enhance-actable/.project
+++ b/mybatis-enhance-actable/.project
@@ -1,7 +1,7 @@
mybatis-enhance-actable
-
+ NO_M2ECLIPSE_SUPPORT: Project files created with the maven-eclipse-plugin are not supported in M2Eclipse.
@@ -25,8 +25,14 @@
+
+ org.springframework.ide.eclipse.core.springbuilder
+
+
+
+ org.springframework.ide.eclipse.core.springnature
org.eclipse.jem.workbench.JavaEMFNature
org.eclipse.wst.common.modulecore.ModuleCoreNature
org.eclipse.jdt.core.javanature
diff --git a/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/annotation/Column.java b/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/annotation/Column.java
index 99856b2d8ca35bd67e7ca0f7b0f39e2a287c6c2b..345887ab0ce124ae1fdfebb43bbdaf7bc943de4e 100644
--- a/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/annotation/Column.java
+++ b/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/annotation/Column.java
@@ -85,4 +85,10 @@ public @interface Column{
* @return
*/
public boolean isUnique() default false;
+
+ /**
+ * 字段注释
+ * @return
+ */
+ public String comment() default "";
}
diff --git a/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/annotation/Table.java b/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/annotation/Table.java
index b2885030130720261851d21c901847c2c7c1682c..fb41ad0eb0cd98d4c4b82eb05f9cb04db3285625 100644
--- a/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/annotation/Table.java
+++ b/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/annotation/Table.java
@@ -29,4 +29,10 @@ public @interface Table {
* @return
*/
public String name();
+
+ /**
+ * 说明
+ * @return
+ */
+ public String comment() default "";
}
diff --git a/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/command/CreateTableParam.java b/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/command/CreateTableParam.java
index ea52bbd8d4b1b370bab3ab669c6173fdee4a3cdc..f39f0d30747116d14dc8f1049295bb501c924743 100644
--- a/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/command/CreateTableParam.java
+++ b/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/command/CreateTableParam.java
@@ -57,6 +57,20 @@ public class CreateTableParam{
* 值是否唯一
*/
private boolean fieldIsUnique;
+
+ /**
+ * 字段注释
+ */
+ private String fieldComment;
+
+
+ public String getFieldComment() {
+ return fieldComment;
+ }
+
+ public void setFieldComment(String fieldComment) {
+ this.fieldComment = fieldComment;
+ }
public String getFieldName(){
return fieldName;
diff --git a/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/command/SysMysqlColumns.java b/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/command/SysMysqlColumns.java
index e935cf12f5511714c807e44055f5fcaf5d0c6a07..1d4324085ec0c235f91cced6d133430f1de49e4e 100644
--- a/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/command/SysMysqlColumns.java
+++ b/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/command/SysMysqlColumns.java
@@ -40,7 +40,7 @@ public class SysMysqlColumns {
* 是否为自动增长,是的话为auto_increment
*/
public static final String EXTRA = "extra";
-
+
private String table_catalog;
/**
* 库名
diff --git a/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/constants/MySqlTypeConstant.java b/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/constants/MySqlTypeConstant.java
index 8aa1d6fa70388c763a0b3899ed5cb7f8b8ae9cad..ac8e44a0a4f6be297c000087502c3b830fbb5e34 100644
--- a/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/constants/MySqlTypeConstant.java
+++ b/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/constants/MySqlTypeConstant.java
@@ -41,4 +41,10 @@ public class MySqlTypeConstant {
*/
@LengthCount
public static final String BIGINT = "bigint";
+
+ @LengthCount
+ public static final String TINYINT = "tinyint";
+
+ @LengthCount
+ public static final String TIMESTAMP = "timestamp";
}
diff --git a/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/dao/common/BaseMysqlCRUDMapper.java b/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/dao/common/BaseMysqlCRUDMapper.java
index a42e0fb180ed8869337a661bb886fc5ad878638b..ae585c676cf9c3f670a68745c591308ac48a384b 100644
--- a/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/dao/common/BaseMysqlCRUDMapper.java
+++ b/mybatis-enhance-actable/src/main/java/com/mybatis/enhance/store/dao/common/BaseMysqlCRUDMapper.java
@@ -17,13 +17,13 @@ public interface BaseMysqlCRUDMapper {
* 保存
* @param tableMap
*/
- public void save(@Param("tableMap") Map