diff --git a/mybatis-plus-join-test/pom.xml b/mybatis-plus-join-test/pom.xml index 3b95bf1..6e7de01 100644 --- a/mybatis-plus-join-test/pom.xml +++ b/mybatis-plus-join-test/pom.xml @@ -98,7 +98,7 @@ com.baomidou mybatis-plus-boot-starter - 3.4.2 + 3.5.3.1 org.springframework diff --git a/mybatis-plus-join-test/test-base/src/main/java/com/github/yulichang/test/config/MybatisPlusConfig.java b/mybatis-plus-join-test/test-base/src/main/java/com/github/yulichang/test/config/MybatisPlusConfig.java index 563c3a5..c300ca4 100644 --- a/mybatis-plus-join-test/test-base/src/main/java/com/github/yulichang/test/config/MybatisPlusConfig.java +++ b/mybatis-plus-join-test/test-base/src/main/java/com/github/yulichang/test/config/MybatisPlusConfig.java @@ -60,7 +60,7 @@ public class MybatisPlusConfig { System.out.println("==============================================="); } else { System.err.println("执行sql: " + SqlSourceBuilder.removeExtraWhitespaces(sql)); - sqlList.forEach(i -> System.err.println("预期sql: " + i)); + sqlList.forEach(i -> System.err.println("预期sql: " + SqlSourceBuilder.removeExtraWhitespaces(i))); throw new RuntimeException("sql error"); } } @@ -85,7 +85,7 @@ public class MybatisPlusConfig { System.out.println("==============================================="); } else { System.err.println("执行sql: " + SqlSourceBuilder.removeExtraWhitespaces(sql)); - sqlList.forEach(i -> System.err.println("预期sql: " + i)); + sqlList.forEach(i -> System.err.println("预期sql: " + SqlSourceBuilder.removeExtraWhitespaces(i))); throw new RuntimeException("sql error"); } }