Class UpdatePickByIdProvider
java.lang.Object
cn.lm.mybatis.mapper.mapperhelper.MapperTemplate
cn.lm.mybatis.mapper.additional.update.force.UpdatePickByIdProvider
- Author:
- qrqhuangcy
-
Field Summary
FieldsFields inherited from class cn.lm.mybatis.mapper.mapperhelper.MapperTemplate
entityClassMap, mapperClass, mapperHelper, methodMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIfNotNull(String entityName, EntityColumn column, String contents, boolean empty) 判断自动!updatePickById(org.apache.ibatis.mapping.MappedStatement ms) updateSetColumnsForce(Class<?> entityClass, String entityName, boolean notNull, boolean notEmpty) update set列Methods inherited from class cn.lm.mybatis.mapper.mapperhelper.MapperTemplate
addMethodMap, createSqlSource, dynamicSQL, getConfig, getEntityClass, getIDENTITY, getIDENTITY, isBEFORE, isCheckExampleEntityClass, isNotEmpty, setResultType, setSqlSource, setSqlSource, supportMethod, tableName
-
Field Details
-
FORCE_UPDATE_PROPERTIES
- See Also:
-
-
Constructor Details
-
UpdatePickByIdProvider
-
-
Method Details
-
updatePickById
-
updateSetColumnsForce
public String updateSetColumnsForce(Class<?> entityClass, String entityName, boolean notNull, boolean notEmpty) update set列- Parameters:
entityClass-entityName- 实体映射名notNull- 是否判断!=nullnotEmpty- 是否判断String类型!=''- Returns:
-
getIfNotNull
判断自动!=null的条件结构- Parameters:
entityName-column-contents-empty-- Returns:
-