public class DeletePropertyProvider extends MapperTemplate
entityClassMap, mapperClass, mapperHelper, methodMap| Constructor and Description |
|---|
DeletePropertyProvider(Class<?> mapperClass,
MapperHelper mapperHelper) |
| Modifier and Type | Method and Description |
|---|---|
String |
deleteBetweenByProperty(org.apache.ibatis.mapping.MappedStatement ms)
根据属性删除,删除条件使用 between
|
String |
deleteByProperty(org.apache.ibatis.mapping.MappedStatement ms)
根据属性删除,条件使用等号
|
String |
deleteInByProperty(org.apache.ibatis.mapping.MappedStatement ms)
根据属性删除,条件使用等号
|
static String |
getColumnByProperty(Class<?> entityClass,
String property)
根据实体Class和属性名获取对应的表字段名
|
static boolean |
isNull(Object value,
boolean safeDelete) |
addMethodMap, createSqlSource, dynamicSQL, getConfig, getEntityClass, getIDENTITY, getIDENTITY, isBEFORE, isCheckExampleEntityClass, isNotEmpty, setResultType, setSqlSource, setSqlSource, supportMethod, tableNamepublic DeletePropertyProvider(Class<?> mapperClass, MapperHelper mapperHelper)
public String deleteByProperty(org.apache.ibatis.mapping.MappedStatement ms)
ms - public String deleteInByProperty(org.apache.ibatis.mapping.MappedStatement ms)
ms - public String deleteBetweenByProperty(org.apache.ibatis.mapping.MappedStatement ms)
ms - public static String getColumnByProperty(Class<?> entityClass, String property)
entityClass - 实体Class对象property - 属性名public static boolean isNull(Object value, boolean safeDelete)
Copyright © 2022. All rights reserved.