Selaa lähdekoodia

Merge remote-tracking branch 'origin/3.0' into 3.0

hubin 7 vuotta sitten
vanhempi
commit
585cc09dc0

+ 2 - 2
mybatis-plus-core/src/test/java/com/baomidou/mybatisplus/core/test/WrapperTest.java

@@ -142,8 +142,8 @@ public class WrapperTest {
             .orderByAsc("id").orderByDesc("name")
             .orderByAsc("id").orderByDesc("name")
             .groupBy("id", "name").groupBy("id2", "name2")
             .groupBy("id", "name").groupBy("id2", "name2")
             .in("inColl", getList()).or().notIn("notInColl", getList())
             .in("inColl", getList()).or().notIn("notInColl", getList())
-            .in("inArray", 1, 2, 3).notIn("notInArray", 1, 2, 3)
-            .in("inSql", "1,2,3,4,5").notIn("inSql", "1,2,3,4,5")
+            .in("inArray").notIn("notInArray", 1, 2, 3)
+            .inSql("inSql", "1,2,3,4,5").notInSql("inSql", "1,2,3,4,5")
             .having("sum(age) > {0}", 1).having("id is not null");
             .having("sum(age) > {0}", 1).having("id is not null");
         logSqlSegment("测试 Func 下的方法", queryWrapper);
         logSqlSegment("测试 Func 下的方法", queryWrapper);
         logParams(queryWrapper);
         logParams(queryWrapper);