Merge pull request #619 from bro0k/develop

fix: insertOrUpdate死循环问题
This commit is contained in:
芋道源码 2024-08-09 21:45:08 +08:00 committed by GitHub
commit ce610131f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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