mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-06-20 15:31:59 +08:00
Merge branch 'develop' of https://github.com/YunaiV/ruoyi-vue-pro into develop
This commit is contained in:
commit
5071194501
@ -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…
x
Reference in New Issue
Block a user