Commit ce610131f4eb9e6d1d40a6163b58a2d9097741a9

Authored by 芋道源码
Committed by GitHub
2 parents 7ba3b123 fd42e171

Merge pull request #619 from bro0k/develop

fix: insertOrUpdate死循环问题
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<T> extends MPJBaseMapper<T> { @@ -185,10 +185,6 @@ public interface BaseMapperX<T> extends MPJBaseMapper<T> {
185 return Db.updateBatchById(entities, size); 185 return Db.updateBatchById(entities, size);
186 } 186 }
187 187
188 - default boolean insertOrUpdate(T entity) {  
189 - return Db.saveOrUpdate(entity);  
190 - }  
191 -  
192 default Boolean insertOrUpdateBatch(Collection<T> collection) { 188 default Boolean insertOrUpdateBatch(Collection<T> collection) {
193 return Db.saveOrUpdateBatch(collection); 189 return Db.saveOrUpdateBatch(collection);
194 } 190 }