Skip to content

Commit

Permalink
✨ spring-boot-demo-codegen 完成,升级 velocity 依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
xkcoding committed Apr 1, 2019
1 parent 5bcdfaa commit 688a818
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spring-boot-demo-codegen/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
<!--velocity代码生成使用模板 -->
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
<version>1.7</version>
<artifactId>velocity-engine-core</artifactId>
<version>2.1</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ public void testTablePage() {
TableRequest request = new TableRequest();
request.setCurrentPage(1);
request.setPageSize(10);
request.setUrl("jdbc:mysql://127.0.0.1:3306/spring-boot-demo");
request.setPrepend("jdbc:mysql://");
request.setUrl("127.0.0.1:3306/spring-boot-demo");
request.setUsername("root");
request.setPassword("root");
request.setTableName("sec_");
Expand All @@ -57,6 +58,7 @@ public void testGeneratorCode() {
GenConfig config = new GenConfig();

TableRequest request = new TableRequest();
request.setPrepend("jdbc:mysql://");
request.setUrl("127.0.0.1:3306/spring-boot-demo");
request.setUsername("root");
request.setPassword("root");
Expand Down

0 comments on commit 688a818

Please sign in to comment.