public interface BaseMapperX<T>
extends com.github.yulichang.base.MPJBaseMapper<T>
| 限定符和类型 | 方法和说明 |
|---|---|
default boolean |
insertBatch(Collection<T> entities)
批量插入,适合大量数据插入
|
default boolean |
insertBatch(Collection<T> entities,
int size)
批量插入,适合大量数据插入
|
default Long |
selectCount() |
default Long |
selectCount(com.baomidou.mybatisplus.core.toolkit.support.SFunction<T,?> field,
Object value) |
default Long |
selectCount(String field,
Object value) |
default <DTO> Map<String,Object> |
selectJoinPage(PageParam pageParam,
Class<DTO> clazz,
com.github.yulichang.interfaces.MPJBaseJoin<T> wrapper) |
default List<T> |
selectList() |
default List<T> |
selectList(com.baomidou.mybatisplus.core.toolkit.support.SFunction<T,?> field,
Collection<?> values) |
default List<T> |
selectList(com.baomidou.mybatisplus.core.toolkit.support.SFunction<T,?> field,
Object value) |
default List<T> |
selectList(com.baomidou.mybatisplus.core.toolkit.support.SFunction<T,?> leField,
com.baomidou.mybatisplus.core.toolkit.support.SFunction<T,?> geField,
Object value) |
default List<T> |
selectList(String field,
Collection<?> values) |
default List<T> |
selectList(String field,
Object value) |
default T |
selectOne(com.baomidou.mybatisplus.core.toolkit.support.SFunction<T,?> field,
Object value) |
default T |
selectOne(com.baomidou.mybatisplus.core.toolkit.support.SFunction<T,?> field1,
Object value1,
com.baomidou.mybatisplus.core.toolkit.support.SFunction<T,?> field2,
Object value2) |
default T |
selectOne(String field,
Object value) |
default T |
selectOne(String field1,
Object value1,
String field2,
Object value2) |
default Map<String,Object> |
selectPage(PageParam pageParam,
com.baomidou.mybatisplus.core.conditions.Wrapper<T> queryWrapper) |
default void |
updateBatch(Collection<T> entities,
int size) |
default void |
updateBatch(T update) |
deleteJoin, selectJoinCount, selectJoinList, selectJoinMap, selectJoinMaps, selectJoinMapsPage, selectJoinOne, selectJoinPage, updateJoin, updateJoinAndNulldelete, deleteBatchIds, deleteById, deleteById, deleteByMap, exists, insert, selectBatchIds, selectBatchIds, selectById, selectByMap, selectByMap, selectCount, selectList, selectList, selectList, selectList, selectMaps, selectMaps, selectMaps, selectMaps, selectMapsPage, selectObjs, selectObjs, selectOne, selectOne, selectPage, update, update, updateByIddefault Map<String,Object> selectPage(PageParam pageParam, com.baomidou.mybatisplus.core.conditions.Wrapper<T> queryWrapper)
default <DTO> Map<String,Object> selectJoinPage(PageParam pageParam, @Param(value="resultTypeClass_Eg1sG") Class<DTO> clazz, @Param(value="ew") com.github.yulichang.interfaces.MPJBaseJoin<T> wrapper)
default T selectOne(com.baomidou.mybatisplus.core.toolkit.support.SFunction<T,?> field, Object value)
default T selectOne(com.baomidou.mybatisplus.core.toolkit.support.SFunction<T,?> field1, Object value1, com.baomidou.mybatisplus.core.toolkit.support.SFunction<T,?> field2, Object value2)
default Long selectCount()
default Long selectCount(com.baomidou.mybatisplus.core.toolkit.support.SFunction<T,?> field, Object value)
default List<T> selectList(com.baomidou.mybatisplus.core.toolkit.support.SFunction<T,?> field, Object value)
default List<T> selectList(String field, Collection<?> values)
default List<T> selectList(com.baomidou.mybatisplus.core.toolkit.support.SFunction<T,?> field, Collection<?> values)
default List<T> selectList(com.baomidou.mybatisplus.core.toolkit.support.SFunction<T,?> leField, com.baomidou.mybatisplus.core.toolkit.support.SFunction<T,?> geField, Object value)
default boolean insertBatch(Collection<T> entities)
entities - 实体们default boolean insertBatch(Collection<T> entities, int size)
entities - 实体们size - 插入数量 Db.saveBatch 默认为 1000default void updateBatch(T update)
default void updateBatch(Collection<T> entities, int size)
Copyright © 2024. All rights reserved.