public interface BaseMapper<T>
DbContext db()
String tableName()
String tablePk()
Class<?> entityClz()
Integer delete(Act1<MapperWhereQ> condition)
Integer update(T entity, boolean excludeNull, Act1<MapperWhereQ> condition)
int[] updateList(List<T> list, Act2<T,DataItem> dataBuilder, Property<T,?>... conditionFields)
boolean existsById(Object id)
boolean exists(Act1<MapperWhereQ> condition)
T selectItem(Act1<MapperWhereQ> condition)
Map<String,Object> selectMap(Act1<MapperWhereQ> condition)
Object selectValue(String column, Act1<MapperWhereQ> condition)
Long selectCount(Act1<MapperWhereQ> condition)
List<T> selectList(Act1<MapperWhereQ> condition)
List<Object> selectArray(String column, Act1<MapperWhereQ> condition)
List<T> selectList(int start, int size, Act1<MapperWhereQ> condition)
List<Map<String,Object>> selectMapList(int start, int size, Act1<MapperWhereQ> condition)
List<Object> selectArray(String column, int start, int size, Act1<MapperWhereQ> condition)
IPage<T> selectPage(int start, int size, Act1<MapperWhereQ> condition)
start - 从0开始IPage<Map<String,Object>> selectMapPage(int start, int size, Act1<MapperWhereQ> condition)
List<T> selectTop(int size, Act1<MapperWhereQ> condition)
Copyright © 2023. All rights reserved.