Package | Description |
---|---|
tech.ibit.mybatis.sqlbuilder.utils | |
tech.ibit.mybatis.utils |
Modifier and Type | Method and Description |
---|---|
static <T,K extends MultiId> |
IdSqlUtils.deleteByMultiId(MultipleIdMapper<T,K> mapper,
K idValue)
构造通过主键删除对象的SQL对象参数(多列作为主键)
|
static <T,K extends MultiId> |
IdSqlUtils.deleteByMultiIds(MultipleIdMapper<T,K> mapper,
Collection<K> idValues)
构造通过主键删除对象的SQL对象参数(多列作为主键)
|
static <T,K extends MultiId> |
IdSqlUtils.getByMultiId(MultipleIdMapper<T,K> mapper,
Class<?> poClazz,
K idValue)
构造通过主键查询对象的SQL参数对象(多列作为主键)
|
static <T,K extends MultiId> |
IdSqlUtils.getByMultiId(MultipleIdMapper<T,K> mapper,
K idValue)
构造通过主键查询对象的SQL参数对象(多列作为主键)
|
static <T,K extends MultiId> |
IdSqlUtils.getByMultiIds(MultipleIdMapper<T,K> mapper,
Class<?> poClazz,
Collection<K> idValues)
构造通过主键查询对象的SQL参数对象(多列作为主键)
|
static <T,K extends MultiId> |
IdSqlUtils.getByMultiIds(MultipleIdMapper<T,K> mapper,
Collection<K> idValues)
构造通过主键查询对象的SQL参数对象(多列作为主键)
|
static <T,K extends MultiId> |
IdSqlUtils.updateByMultiIds(MultipleIdMapper<T,K> mapper,
T updateObject,
Collection<K> idValues)
构造通过主键批量更新对象的SQL参数对象(多列作为主键)
|
static <T,K extends MultiId> |
IdSqlUtils.updateByMultiIds(MultipleIdMapper<T,K> mapper,
T updateObject,
List<Column> updateColumns,
Collection<K> idValues)
构造通过主键批量更新对象指定列的SQL参数对象(多列作为主键)
|
Modifier and Type | Method and Description |
---|---|
static <T,K extends MultiId> |
MapperUtils.deleteByMultiId(MultipleIdMapper<T,K> mapper,
K id)
通过主键删除
|
static <T,K extends MultiId> |
MapperUtils.deleteByMultiIds(MultipleIdMapper<T,K> mapper,
Collection<K> ids)
通过主键批量删除
|
static <T,K extends MultiId> |
MapperUtils.getByMultiId(MultipleIdMapper<T,K> mapper,
K id)
通过主键获取实体
|
static <T,K extends MultiId> |
MapperUtils.getByMultiIds(MultipleIdMapper<T,K> mapper,
Collection<K> ids)
通过主键批量获取实体
|
static <T,K extends MultiId,P> |
MapperUtils.getPoByMultiId(MultipleIdMapper<T,K> mapper,
Class<P> clazz,
K id)
通过主键获取某个类型的持久化对象
|
static <T,K extends MultiId,P> |
MapperUtils.getPoByMultiIds(MultipleIdMapper<T,K> mapper,
Class<P> clazz,
Collection<K> ids)
通过主键批量获取某个类型的持久化对象
|
static <T,K extends MultiId> |
MapperUtils.updateByMultiIds(MultipleIdMapper<T,K> mapper,
T entity,
Collection<K> ids)
通过主键更新实体
|
static <T,K extends MultiId> |
MapperUtils.updateByMultiIds(MultipleIdMapper<T,K> mapper,
T entity,
List<Column> columns,
Collection<K> ids)
通过主键更新实体指定列
|
Copyright © 2020 IBIT程序猿. All rights reserved.