Class DeletePropertyProvider
java.lang.Object
org.miaixz.bus.mapper.builder.MapperTemplate
org.miaixz.bus.mapper.additional.delete.DeletePropertyProvider
删除属性
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Field Summary
Fields inherited from class org.miaixz.bus.mapper.builder.MapperTemplate
entityClassMap, mapperBuilder, mapperClass, methodMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteBetweenByProperty(org.apache.ibatis.mapping.MappedStatement ms) 根据属性删除,删除条件使用 betweendeleteByProperty(org.apache.ibatis.mapping.MappedStatement ms) 根据属性删除,条件使用等号deleteInByProperty(org.apache.ibatis.mapping.MappedStatement ms) 根据属性删除,条件使用等号static StringgetColumnByProperty(Class<?> entityClass, String property) 根据实体Class和属性名获取对应的表字段名static booleanMethods inherited from class org.miaixz.bus.mapper.builder.MapperTemplate
addMethodMap, createSqlSource, dynamicSQL, getConfig, getEntityClass, getIDENTITY, getIDENTITY, isBEFORE, isCheckConditionEntityClass, isNotEmpty, setResultType, setSqlSource, setSqlSource, supportMethod, tableName
-
Constructor Details
-
DeletePropertyProvider
-
-
Method Details
-
getColumnByProperty
根据实体Class和属性名获取对应的表字段名- Parameters:
entityClass- 实体Class对象property- 属性名- Returns:
- the string
-
isNull
-
deleteByProperty
根据属性删除,条件使用等号- Parameters:
ms- MappedStatement- Returns:
- the string
-
deleteInByProperty
根据属性删除,条件使用等号- Parameters:
ms- MappedStatement- Returns:
- the string
-
deleteBetweenByProperty
根据属性删除,删除条件使用 between- Parameters:
ms- MappedStatement- Returns:
- the string
-