E - 实体类类型ID - 实体类主键类型public interface BaseMapper<E,ID extends Serializable>
| 限定符和类型 | 方法和说明 |
|---|---|
int |
batchDelete(Collection<ID> idList) |
int |
batchInsert(Collection<E> list) |
int |
count(E query) |
int |
delete(ID id) |
List<E> |
find(E query) |
List<E> |
findAll(Integer start,
Integer limit) |
List<E> |
findByIds(Collection<ID> ids) |
Set<E> |
findToSet(E query) |
Set<E> |
findToSetByIds(Collection<ID> ids) |
E |
get(ID id) |
int |
insert(E entity) |
int |
update(E entity) |
int insert(E entity)
int batchInsert(Collection<E> list)
int delete(ID id)
int batchDelete(Collection<ID> idList)
int update(E entity)
List<E> findByIds(Collection<ID> ids)
Set<E> findToSetByIds(Collection<ID> ids)
int count(E query)
Copyright © 2019 量宽. All rights reserved.