update 删除 无用方法 mp 新版本自带了
parent
201298fcf8
commit
0b8fd7da3b
|
|
@ -88,13 +88,6 @@ public interface BaseMapperPlus<T, V> extends BaseMapper<T> {
|
||||||
return Db.saveOrUpdateBatch(entityList, batchSize);
|
return Db.saveOrUpdateBatch(entityList, batchSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* 插入或更新(包含限制条数)
|
|
||||||
*/
|
|
||||||
default boolean insertOrUpdate(T entity) {
|
|
||||||
return Db.saveOrUpdate(entity);
|
|
||||||
}
|
|
||||||
|
|
||||||
default V selectVoById(Serializable id) {
|
default V selectVoById(Serializable id) {
|
||||||
return selectVoById(id, this.currentVoClass());
|
return selectVoById(id, this.currentVoClass());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue