Commit fd42e1711d37f9127e94ab9bec34d758bd8e8af4

Authored by brook
1 parent 7ba3b123

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 185 return Db.updateBatchById(entities, size);
186 186 }
187 187  
188   - default boolean insertOrUpdate(T entity) {
189   - return Db.saveOrUpdate(entity);
190   - }
191   -
192 188 default Boolean insertOrUpdateBatch(Collection<T> collection) {
193 189 return Db.saveOrUpdateBatch(collection);
194 190 }
... ...