diff --git a/pom.xml b/pom.xml
index 369aec178b5f3fb0918d4801444080ea49e08a87..14666cfdbb329892745f82319e9e3fb35efc3647 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
4.0.0
com.gitee.digital-engine
spring-domain
- 2.7.6
+ 2.7.7
pom
diff --git a/spring-boot-starter-domain/pom.xml b/spring-boot-starter-domain/pom.xml
index 8d8ec3356ee62f469213a8ca7a7ff08f59eaee56..623db1c96bea65da596c7eeccfc3adbdc8dc8a32 100644
--- a/spring-boot-starter-domain/pom.xml
+++ b/spring-boot-starter-domain/pom.xml
@@ -6,7 +6,7 @@
com.gitee.digital-engine
spring-domain
- 2.7.6
+ 2.7.7
spring-boot-starter-domain
diff --git a/spring-boot-starter-domain/src/main/java/com/gitee/spring/boot/starter/domain/builder/IsNotNullExampleBuilder.java b/spring-boot-starter-domain/src/main/java/com/gitee/spring/boot/starter/domain/builder/IsNotNullExampleBuilder.java
new file mode 100644
index 0000000000000000000000000000000000000000..445372dc332a1ec3981ad92df58f03109faabf33
--- /dev/null
+++ b/spring-boot-starter-domain/src/main/java/com/gitee/spring/boot/starter/domain/builder/IsNotNullExampleBuilder.java
@@ -0,0 +1,14 @@
+package com.gitee.spring.boot.starter.domain.builder;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.gitee.spring.boot.starter.domain.api.ExampleBuilder;
+
+public class IsNotNullExampleBuilder implements ExampleBuilder {
+
+ @Override
+ public void appendCriterion(Object example, String fieldName, Object fieldValue) {
+ QueryWrapper> queryWrapper = (QueryWrapper>) example;
+ queryWrapper.isNotNull(fieldName);
+ }
+
+}
diff --git a/spring-boot-starter-domain/src/main/java/com/gitee/spring/boot/starter/domain/builder/IsNullExampleBuilder.java b/spring-boot-starter-domain/src/main/java/com/gitee/spring/boot/starter/domain/builder/IsNullExampleBuilder.java
new file mode 100644
index 0000000000000000000000000000000000000000..449e109888e6e7a5337cf87b70f7f929e685aa7d
--- /dev/null
+++ b/spring-boot-starter-domain/src/main/java/com/gitee/spring/boot/starter/domain/builder/IsNullExampleBuilder.java
@@ -0,0 +1,14 @@
+package com.gitee.spring.boot.starter.domain.builder;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.gitee.spring.boot.starter.domain.api.ExampleBuilder;
+
+public class IsNullExampleBuilder implements ExampleBuilder {
+
+ @Override
+ public void appendCriterion(Object example, String fieldName, Object fieldValue) {
+ QueryWrapper> queryWrapper = (QueryWrapper>) example;
+ queryWrapper.isNull(fieldName);
+ }
+
+}
diff --git a/spring-boot-starter-domain/src/main/java/com/gitee/spring/boot/starter/domain/repository/MybatisPlusEntityMapper.java b/spring-boot-starter-domain/src/main/java/com/gitee/spring/boot/starter/domain/repository/MybatisPlusEntityMapper.java
index 402e0d090929eabad192eac73b1a38143de4c365..eba7526ae5eed546b3b0cb8e3c6d73ba546bbdc4 100644
--- a/spring-boot-starter-domain/src/main/java/com/gitee/spring/boot/starter/domain/repository/MybatisPlusEntityMapper.java
+++ b/spring-boot-starter-domain/src/main/java/com/gitee/spring/boot/starter/domain/repository/MybatisPlusEntityMapper.java
@@ -27,12 +27,14 @@ public class MybatisPlusEntityMapper implements EntityMapper {
operatorExampleBuilderMap.put(Operator.NE, new NEExampleBuilder());
operatorExampleBuilderMap.put(Operator.IN, new InExampleBuilder());
operatorExampleBuilderMap.put(Operator.NOT_IN, new NotInExampleBuilder());
+ operatorExampleBuilderMap.put(Operator.IS_NULL, new IsNullExampleBuilder());
+ operatorExampleBuilderMap.put(Operator.IS_NOT_NULL, new IsNotNullExampleBuilder());
+ operatorExampleBuilderMap.put(Operator.LIKE, new LikeExampleBuilder());
+ operatorExampleBuilderMap.put(Operator.NOT_LIKE, new NotLikeExampleBuilder());
operatorExampleBuilderMap.put(Operator.GT, new GTExampleBuilder());
operatorExampleBuilderMap.put(Operator.GE, new GEExampleBuilder());
operatorExampleBuilderMap.put(Operator.LT, new LTExampleBuilder());
operatorExampleBuilderMap.put(Operator.LE, new LEExampleBuilder());
- operatorExampleBuilderMap.put(Operator.LIKE, new LikeExampleBuilder());
- operatorExampleBuilderMap.put(Operator.NOT_LIKE, new NotLikeExampleBuilder());
}
@Override
diff --git a/spring-domain-coating/pom.xml b/spring-domain-coating/pom.xml
index 75ccc56f75e78a146cdc9d68d367d4bad23f8783..97c8872ccacc1beb556bd5d456434de729d30161 100644
--- a/spring-domain-coating/pom.xml
+++ b/spring-domain-coating/pom.xml
@@ -6,7 +6,7 @@
com.gitee.digital-engine
spring-domain
- 2.7.6
+ 2.7.7
spring-domain-coating
diff --git a/spring-domain-core/pom.xml b/spring-domain-core/pom.xml
index b8784f14cea042c2b87c3e2935f7bf5570b99236..d4ea4fa6a8fd841dc8ae56e8d538b4ec2264062d 100644
--- a/spring-domain-core/pom.xml
+++ b/spring-domain-core/pom.xml
@@ -6,7 +6,7 @@
com.gitee.digital-engine
spring-domain
- 2.7.6
+ 2.7.7
spring-domain-core
diff --git a/spring-domain-core/src/main/java/com/gitee/spring/domain/core/api/EntityIndex.java b/spring-domain-core/src/main/java/com/gitee/spring/domain/core/api/EntityIndex.java
index f7c2299f8fc68b360e74ddc1c2d345b8f5419c1e..8cb497704a13da1b7f4bc4b5d81a1964e2550bec 100644
--- a/spring-domain-core/src/main/java/com/gitee/spring/domain/core/api/EntityIndex.java
+++ b/spring-domain-core/src/main/java/com/gitee/spring/domain/core/api/EntityIndex.java
@@ -1,11 +1,11 @@
package com.gitee.spring.domain.core.api;
-import com.gitee.spring.domain.core.repository.ConfiguredRepository;
+import com.gitee.spring.domain.core.entity.ForeignKey;
import java.util.List;
public interface EntityIndex {
- List