| 限定符和类型 | 方法和说明 |
|---|---|
<S extends T> |
count(S record) |
<S extends T> |
countByExample(Example<S> example) |
default <S extends T> |
createCriteria() |
default <S extends T> |
createExample() |
<S extends T> |
deleteByExample(Example<S> example) |
int |
deleteByPrimaryKey(Object id) |
boolean |
existsByPrimaryKey(Object id) |
<S extends T> |
insert(S record) |
<S extends T> |
insertAll(Collection<S> record)
已过时。
|
<S extends T> |
insertSelective(S record) |
<S extends T> |
selectAll() |
<S extends T> |
selectByExample(Example<S> example) |
<S extends T> |
selectByPrimaryKey(Object id) |
<S extends T> |
selectByPrimaryKeyWithOptional(Object id) |
<S extends T> |
selectList(S record) |
<S extends T> |
selectOne(S record) |
<S extends T> |
selectOneWithOptional(S record) |
<S extends T> |
updateByExample(S record,
Example<S> example) |
<S extends T> |
updateByExampleSelective(S record,
Example<S> example) |
<S extends T> |
updateByPrimaryKey(S record) |
<S extends T> |
updateByPrimaryKeySelective(S record) |
@DeleteEntityProvider(type=BaseEntitySqlBuilder.class, method="deleteByPrimaryKey") int deleteByPrimaryKey(Object id)
@InsertEntityProvider(type=BaseEntitySqlBuilder.class, method="insert") <S extends T> int insert(S record)
@InsertEntityProvider(type=BaseEntitySqlBuilder.class, method="insertAll") @Deprecated <S extends T> int insertAll(Collection<S> record)
S - record - @InsertEntityProvider(type=BaseEntitySqlBuilder.class, method="insertSelective") <S extends T> int insertSelective(S record)
@SelectEntityProvider(type=BaseEntitySqlBuilder.class, method="selectByPrimaryKey") <S extends T> S selectByPrimaryKey(Object id)
@SelectEntityProvider(type=BaseEntitySqlBuilder.class, method="selectByPrimaryKeyWithOptional") <S extends T> Optional<S> selectByPrimaryKeyWithOptional(Object id)
@UpdateEntityProvider(type=BaseEntitySqlBuilder.class, method="updateByPrimaryKey") <S extends T> int updateByPrimaryKey(S record)
@UpdateEntityProvider(type=BaseEntitySqlBuilder.class, method="updateByPrimaryKeySelective") <S extends T> int updateByPrimaryKeySelective(S record)
@SelectEntityProvider(type=BaseEntitySqlBuilder.class, method="selectAll") <S extends T> List<S> selectAll()
@SelectEntityProvider(type=BaseEntitySqlBuilder.class, method="selectList") <S extends T> List<S> selectList(S record)
@SelectEntityProvider(type=BaseEntitySqlBuilder.class, method="selectOne") <S extends T> S selectOne(S record)
@SelectEntityProvider(type=BaseEntitySqlBuilder.class, method="selectOneWithOptional") <S extends T> Optional<S> selectOneWithOptional(S record)
@SelectEntityProvider(type=BaseEntitySqlBuilder.class, method="existsByPrimaryKey") boolean existsByPrimaryKey(Object id)
@SelectEntityProvider(type=BaseEntitySqlBuilder.class, method="count") <S extends T> int count(S record)
@SelectEntityProvider(type=BaseEntitySqlBuilder.class, method="selectByExample") <S extends T> List<S> selectByExample(Example<S> example)
@SelectEntityProvider(type=BaseEntitySqlBuilder.class, method="countByExample") <S extends T> int countByExample(Example<S> example)
@DeleteEntityProvider(type=BaseEntitySqlBuilder.class, method="deleteByExample") <S extends T> int deleteByExample(Example<S> example)
@UpdateEntityProvider(type=BaseEntitySqlBuilder.class, method="updateByExample") <S extends T> int updateByExample(@Param(value="record") S record, @Param(value="example") Example<S> example)
@UpdateEntityProvider(type=BaseEntitySqlBuilder.class, method="updateByExampleSelective") <S extends T> int updateByExampleSelective(@Param(value="record") S record, @Param(value="example") Example<S> example)
default <S extends T> MapperCriteria<S> createCriteria()
default <S extends T> MapperExample<S> createExample()
Copyright © 2020. All rights reserved.