Class CrudRepository<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>,T>
java.lang.Object
com.baomidou.mybatisplus.extension.repository.AbstractRepository<M,T>
io.quarkiverse.mybatis.plus.extension.repository.CrudRepository<M,T>
- All Implemented Interfaces:
com.baomidou.mybatisplus.extension.repository.IRepository<T>
- Direct Known Subclasses:
ServiceImpl
public abstract class CrudRepository<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>,T>
extends com.baomidou.mybatisplus.extension.repository.AbstractRepository<M,T>
-
Field Summary
FieldsFields inherited from class com.baomidou.mybatisplus.extension.repository.AbstractRepository
logFields inherited from interface com.baomidou.mybatisplus.extension.repository.IRepository
DEFAULT_BATCH_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetSqlStatement(com.baomidou.mybatisplus.core.enums.SqlMethod sqlMethod) booleansaveBatch(Collection<T> entityList, int batchSize) booleansaveOrUpdateBatch(Collection<T> entityList, int batchSize) booleanupdateBatchById(Collection<T> entityList, int batchSize) Methods inherited from class com.baomidou.mybatisplus.extension.repository.AbstractRepository
executeBatch, executeBatch, getEntityClass, getMap, getMapperClass, getObj, getOne, getOneOpt, getSqlSessionFactory, removeById, saveOrUpdateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.baomidou.mybatisplus.extension.repository.IRepository
count, count, exists, getById, getOne, getOneOpt, getOptById, ktQuery, ktUpdate, lambdaQuery, lambdaQuery, lambdaUpdate, list, list, list, list, listByIds, listByMap, listMaps, listMaps, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeById, removeById, removeByIds, removeByIds, removeByMap, save, update, update, update, updateById
-
Field Details
-
baseMapper
-
-
Constructor Details
-
CrudRepository
public CrudRepository()
-
-
Method Details
-
getBaseMapper
-
saveBatch
-
getSqlStatement
-
saveOrUpdateBatch
-
updateBatchById
-