diff --git a/README.md b/README.md
index f326feb..e9eff2d 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@ Druid Spring Boot Starter 将帮助你在 Spring Boot 中使用 Druid。
com.github.drtrang
druid-spring-boot-starter
- 1.1.7
+ 1.1.8-SNAPSHOT
```
diff --git a/druid-spring-boot-actuator/druid-spring-boot-actuator-autoconfigure/pom.xml b/druid-spring-boot-actuator/druid-spring-boot-actuator-autoconfigure/pom.xml
index 278eda9..b9a5679 100644
--- a/druid-spring-boot-actuator/druid-spring-boot-actuator-autoconfigure/pom.xml
+++ b/druid-spring-boot-actuator/druid-spring-boot-actuator-autoconfigure/pom.xml
@@ -7,7 +7,7 @@
com.github.drtrang
druid-spring-boot-actuator
- 1.1.7
+ 1.1.8-SNAPSHOT
druid-spring-boot-actuator-autoconfigure
diff --git a/druid-spring-boot-actuator/druid-spring-boot-actuator-starter/pom.xml b/druid-spring-boot-actuator/druid-spring-boot-actuator-starter/pom.xml
index 306aba5..66c7b73 100644
--- a/druid-spring-boot-actuator/druid-spring-boot-actuator-starter/pom.xml
+++ b/druid-spring-boot-actuator/druid-spring-boot-actuator-starter/pom.xml
@@ -7,7 +7,7 @@
com.github.drtrang
druid-spring-boot-actuator
- 1.1.7
+ 1.1.8-SNAPSHOT
druid-spring-boot-actuator-starter
diff --git a/druid-spring-boot-actuator/pom.xml b/druid-spring-boot-actuator/pom.xml
index 4083add..7ec9dbe 100644
--- a/druid-spring-boot-actuator/pom.xml
+++ b/druid-spring-boot-actuator/pom.xml
@@ -7,7 +7,7 @@
com.github.drtrang
druid-spring-boot-parent
- 1.1.7
+ 1.1.8-SNAPSHOT
druid-spring-boot-actuator
diff --git a/druid-spring-boot-example/druid-spring-boot-jpa-example/pom.xml b/druid-spring-boot-example/druid-spring-boot-jpa-example/pom.xml
index c03ff8f..432d156 100644
--- a/druid-spring-boot-example/druid-spring-boot-jpa-example/pom.xml
+++ b/druid-spring-boot-example/druid-spring-boot-jpa-example/pom.xml
@@ -7,7 +7,7 @@
com.github.drtrang
druid-spring-boot-example
- 1.1.7
+ 1.1.8-SNAPSHOT
druid-spring-boot-jpa-example
diff --git a/druid-spring-boot-example/druid-spring-boot-mybatis-example/pom.xml b/druid-spring-boot-example/druid-spring-boot-mybatis-example/pom.xml
index ef120f6..9c33ce1 100644
--- a/druid-spring-boot-example/druid-spring-boot-mybatis-example/pom.xml
+++ b/druid-spring-boot-example/druid-spring-boot-mybatis-example/pom.xml
@@ -7,7 +7,7 @@
com.github.drtrang
druid-spring-boot-example
- 1.1.7
+ 1.1.8-SNAPSHOT
druid-spring-boot-mybatis-example
diff --git a/druid-spring-boot-example/druid-spring-boot-mybatis-example/src/test/java/com/github/trang/druid/example/mybatis/test/coveralls/DruidTest.java b/druid-spring-boot-example/druid-spring-boot-mybatis-example/src/test/java/com/github/trang/druid/example/mybatis/test/coveralls/DruidTest.java
new file mode 100644
index 0000000..6d47864
--- /dev/null
+++ b/druid-spring-boot-example/druid-spring-boot-mybatis-example/src/test/java/com/github/trang/druid/example/mybatis/test/coveralls/DruidTest.java
@@ -0,0 +1,40 @@
+package com.github.trang.druid.example.mybatis.test.coveralls;
+
+import com.alibaba.druid.filter.config.ConfigTools;
+import com.alibaba.druid.sql.SQLUtils;
+import com.alibaba.druid.sql.SQLUtils.FormatOption;
+import com.alibaba.druid.sql.visitor.VisitorFeature;
+import lombok.extern.slf4j.Slf4j;
+import org.junit.Test;
+
+import static org.junit.Assert.assertEquals;
+
+/**
+ * DruidTest
+ *
+ * @author trang
+ */
+@Slf4j
+public class DruidTest {
+
+ @Test
+ public void encrypt() throws Exception {
+ String origin = "123456";
+ String encrypt = ConfigTools.encrypt(origin);
+ String decrypt = ConfigTools.decrypt(ConfigTools.DEFAULT_PUBLIC_KEY_STRING, encrypt);
+ assertEquals(origin, decrypt);
+ }
+
+ @Test
+ public void format() {
+ String sql = "SELECT id,task_id,task_source, housedel_code, del_type, office_address, company_code, brand, " +
+ "class1_code, class2_code, class2_name, status, create_time, end_time, creator_ucid, creator_name, " +
+ "org_code, prove_id, prove_time, audit_ucid, audit_name, audit_reject_reason, audit_content, " +
+ "audit_time, pass_mode, sms_content, sms_time, lianjia_app_content, lianjia_app_time \r\n FROM " +
+ "sh_true_house_task \r\n WHERE office_address = 0 AND status = 0 ORDER BY id DESC";
+ System.out.println(sql);
+ System.out.println(SQLUtils.formatMySql(sql));
+ System.out.println(SQLUtils.formatMySql(sql, new FormatOption(VisitorFeature.OutputUCase)));
+ }
+
+}
\ No newline at end of file
diff --git a/druid-spring-boot-example/pom.xml b/druid-spring-boot-example/pom.xml
index 92ec9b9..6e55816 100644
--- a/druid-spring-boot-example/pom.xml
+++ b/druid-spring-boot-example/pom.xml
@@ -7,7 +7,7 @@
com.github.drtrang
druid-spring-boot-parent
- 1.1.7
+ 1.1.8-SNAPSHOT
druid-spring-boot-example
diff --git a/druid-spring-boot/druid-spring-boot-autoconfigure/pom.xml b/druid-spring-boot/druid-spring-boot-autoconfigure/pom.xml
index 39c6313..7a4bba6 100644
--- a/druid-spring-boot/druid-spring-boot-autoconfigure/pom.xml
+++ b/druid-spring-boot/druid-spring-boot-autoconfigure/pom.xml
@@ -7,7 +7,7 @@
com.github.drtrang
druid-spring-boot
- 1.1.7
+ 1.1.8-SNAPSHOT
druid-spring-boot-autoconfigure
diff --git a/druid-spring-boot/druid-spring-boot-starter/pom.xml b/druid-spring-boot/druid-spring-boot-starter/pom.xml
index bdea3bc..30fe5a6 100644
--- a/druid-spring-boot/druid-spring-boot-starter/pom.xml
+++ b/druid-spring-boot/druid-spring-boot-starter/pom.xml
@@ -7,7 +7,7 @@
com.github.drtrang
druid-spring-boot
- 1.1.7
+ 1.1.8-SNAPSHOT
druid-spring-boot-starter
diff --git a/druid-spring-boot/pom.xml b/druid-spring-boot/pom.xml
index fbcbaa9..eee2f36 100644
--- a/druid-spring-boot/pom.xml
+++ b/druid-spring-boot/pom.xml
@@ -7,7 +7,7 @@
com.github.drtrang
druid-spring-boot-parent
- 1.1.7
+ 1.1.8-SNAPSHOT
druid-spring-boot
diff --git a/pom.xml b/pom.xml
index 3786cfb..ed68bc8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
druid-spring-boot-parent
- 1.1.7
+ 1.1.8-SNAPSHOT
pom
Druid Spring Boot Starter
@@ -55,7 +55,7 @@
- 1.1.7
+ 1.1.8