fix: insertOrUpdate死循环问题

This commit is contained in:
brook 2024-08-09 11:24:48 +08:00
parent 7ba3b12313
commit fd42e1711d

View File

@ -185,10 +185,6 @@ public interface BaseMapperX<T> extends MPJBaseMapper<T> {
return Db.updateBatchById(entities, size); return Db.updateBatchById(entities, size);
} }
default boolean insertOrUpdate(T entity) {
return Db.saveOrUpdate(entity);
}
default Boolean insertOrUpdateBatch(Collection<T> collection) { default Boolean insertOrUpdateBatch(Collection<T> collection) {
return Db.saveOrUpdateBatch(collection); return Db.saveOrUpdateBatch(collection);
} }