24282 преди 1 година
родител
ревизия
582a2d46f5
променени са 2 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 1 1
      my-test/src/main/java/org/example/join/domain/QueryMethod.java
  2. 3 3
      my-test/src/test/java/MySpringBootTest.java

+ 1 - 1
my-test/src/main/java/org/example/join/domain/QueryMethods.java → my-test/src/main/java/org/example/join/domain/QueryMethod.java

@@ -3,7 +3,7 @@ package org.example.join.domain;
 /**
  * SQL 函数。
  */
-public class QueryMethods {
+public class QueryMethod {
 
     /**
      * 绝对值

+ 3 - 3
my-test/src/test/java/MySpringBootTest.java

@@ -14,9 +14,9 @@ import org.springframework.test.context.junit4.SpringRunner;
 
 import java.util.List;
 
-import static org.example.join.domain.QueryMethods._if;
-import static org.example.join.domain.QueryMethods.concat;
-import static org.example.join.domain.QueryMethods.ifNull;
+import static org.example.join.domain.QueryMethod._if;
+import static org.example.join.domain.QueryMethod.concat;
+import static org.example.join.domain.QueryMethod.ifNull;
 
 @RunWith(SpringRunner.class)
 @SpringBootTest(classes = DromaraApplication.class)