From fd42e1711d37f9127e94ab9bec34d758bd8e8af4 Mon Sep 17 00:00:00 2001 From: brook Date: Fri, 9 Aug 2024 11:24:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20insertOrUpdate=E6=AD=BB=E5=BE=AA?= =?UTF-8?q?=E7=8E=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yudao/framework/mybatis/core/mapper/BaseMapperX.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/mybatis/core/mapper/BaseMapperX.java b/yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/mybatis/core/mapper/BaseMapperX.java index 3f1cb3e2b..99a6c5147 100644 --- a/yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/mybatis/core/mapper/BaseMapperX.java +++ b/yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/mybatis/core/mapper/BaseMapperX.java @@ -185,10 +185,6 @@ public interface BaseMapperX extends MPJBaseMapper { return Db.updateBatchById(entities, size); } - default boolean insertOrUpdate(T entity) { - return Db.saveOrUpdate(entity); - } - default Boolean insertOrUpdateBatch(Collection collection) { return Db.saveOrUpdateBatch(collection); }