mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 23:31:52 +08:00
fix: insertOrUpdate死循环问题
This commit is contained in:
parent
7ba3b12313
commit
fd42e1711d
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user