diff --git a/mybatis-plus-join-boot-starter/src/main/java/com/github/yulichang/autoconfigure/MybatisPlusJoinProperties.java b/mybatis-plus-join-boot-starter/src/main/java/com/github/yulichang/autoconfigure/MybatisPlusJoinProperties.java index fdba2d87..637f0009 100644 --- a/mybatis-plus-join-boot-starter/src/main/java/com/github/yulichang/autoconfigure/MybatisPlusJoinProperties.java +++ b/mybatis-plus-join-boot-starter/src/main/java/com/github/yulichang/autoconfigure/MybatisPlusJoinProperties.java @@ -43,7 +43,7 @@ public class MybatisPlusJoinProperties { /** * 逻辑删除类型 支持 where on */ - private String logicDelType = "where"; + private String logicDelType = "on"; /** * 映射查询最大深度 diff --git a/mybatis-plus-join-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/mybatis-plus-join-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 936e2fa6..e0d17384 100644 --- a/mybatis-plus-join-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/mybatis-plus-join-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -40,7 +40,7 @@ }, { "name": "mybatis-plus-join.logic-del-type", - "defaultValue": "where", + "defaultValue": "on", "type": "java.lang.String", "description": "逻辑删除的位置支持where和on两个." }, diff --git a/mybatis-plus-join-core/src/main/java/com/github/yulichang/config/ConfigProperties.java b/mybatis-plus-join-core/src/main/java/com/github/yulichang/config/ConfigProperties.java index fa2350a8..7151dd84 100644 --- a/mybatis-plus-join-core/src/main/java/com/github/yulichang/config/ConfigProperties.java +++ b/mybatis-plus-join-core/src/main/java/com/github/yulichang/config/ConfigProperties.java @@ -29,7 +29,7 @@ public class ConfigProperties { /** * 逻辑删除类型 支持 where on */ - public static LogicDelTypeEnum logicDelType = LogicDelTypeEnum.WHERE; + public static LogicDelTypeEnum logicDelType = LogicDelTypeEnum.ON; /** * 逻辑删除类型 支持 where on */