From 890e0c3944f2ee8c94fdf567e3302b81139b40ac Mon Sep 17 00:00:00 2001 From: weichangming Date: Mon, 17 Feb 2025 09:14:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dpr-494=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E5=8D=95=E5=85=83=E6=B5=8B=E8=AF=95=E4=B8=8D=E9=80=9A?= =?UTF-8?q?=E8=BF=87=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/test/java/com/mybatisflex/test/AccountNativeTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mybatis-flex-test/mybatis-flex-native-test/src/test/java/com/mybatisflex/test/AccountNativeTest.java b/mybatis-flex-test/mybatis-flex-native-test/src/test/java/com/mybatisflex/test/AccountNativeTest.java index 0b3eda52..550be250 100644 --- a/mybatis-flex-test/mybatis-flex-native-test/src/test/java/com/mybatisflex/test/AccountNativeTest.java +++ b/mybatis-flex-test/mybatis-flex-native-test/src/test/java/com/mybatisflex/test/AccountNativeTest.java @@ -202,7 +202,7 @@ public class AccountNativeTest implements WithAssertions { queryWrapper.where(Account::getId).ge(100) .and(Account::getUserName).like("michael") .or(Account::getUserName).like(null, If::notNull); - String expectSql = "SELECT * FROM WHERE `id` >= 100 AND `user_name` LIKE '%michael%'"; + String expectSql = "SELECT * WHERE `id` >= 100 AND `user_name` LIKE '%michael%'"; assertThat(queryWrapper.toSQL()).isEqualTo(expectSql); }