public final class DeleteMethodUtil extends Object
| 构造器和说明 |
|---|
DeleteMethodUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <E> int |
delete(BasicMapper basicMapper,
TableInfo tableInfo,
Collection<E> list) |
static int |
delete(BasicMapper basicMapper,
TableInfo tableInfo,
Consumer<Where> consumer) |
static <E> int |
delete(BasicMapper basicMapper,
TableInfo tableInfo,
E entity) |
static int |
delete(BasicMapper basicMapper,
TableInfo tableInfo,
Where where) |
static int |
deleteAll(BasicMapper basicMapper,
TableInfo tableInfo) |
static int |
deleteById(BasicMapper basicMapper,
TableInfo tableInfo,
Serializable id) |
static <ID extends Serializable> |
deleteByIds(BasicMapper basicMapper,
TableInfo tableInfo,
Collection<ID> ids) |
static int |
deleteByIds(BasicMapper basicMapper,
TableInfo tableInfo,
Serializable[] ids) |
static int |
truncate(BasicMapper basicMapper,
TableInfo tableInfo)
TRUNCATE TABLE
|
public static int deleteById(BasicMapper basicMapper, TableInfo tableInfo, Serializable id)
public static int deleteByIds(BasicMapper basicMapper, TableInfo tableInfo, Serializable[] ids)
public static <ID extends Serializable> int deleteByIds(BasicMapper basicMapper, TableInfo tableInfo, Collection<ID> ids)
public static <E> int delete(BasicMapper basicMapper, TableInfo tableInfo, E entity)
public static <E> int delete(BasicMapper basicMapper, TableInfo tableInfo, Collection<E> list)
public static int delete(BasicMapper basicMapper, TableInfo tableInfo, Consumer<Where> consumer)
public static int delete(BasicMapper basicMapper, TableInfo tableInfo, Where where)
public static int deleteAll(BasicMapper basicMapper, TableInfo tableInfo)
public static int truncate(BasicMapper basicMapper, TableInfo tableInfo)
basicMapper - tableInfo - Copyright © 2025. All rights reserved.