From 740c19511c920807fb3fe6eb5c02eda464822605 Mon Sep 17 00:00:00 2001
From: yulichang <570810310@qq.com>
Date: Fri, 17 Mar 2023 11:34:11 +0800
Subject: [PATCH] test
---
mybatis-plus-join-test/pom.xml | 2 +-
.../com/github/yulichang/test/config/MybatisPlusConfig.java | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
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");
}
}