Package tk.mybatis.mapper.provider
Class ExampleProvider
java.lang.Object
tk.mybatis.mapper.mapperhelper.MapperTemplate
tk.mybatis.mapper.provider.ExampleProvider
ExampleProvider实现类,基础方法实现类
- Author:
- liuzh
-
Field Summary
Fields inherited from class tk.mybatis.mapper.mapperhelper.MapperTemplate
entityClassMap, mapperClass, mapperHelper, methodMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteByExample(org.apache.ibatis.mapping.MappedStatement ms) 根据Example删除selectByExample(org.apache.ibatis.mapping.MappedStatement ms) 根据Example查询selectByExampleAndRowBounds(org.apache.ibatis.mapping.MappedStatement ms) 根据Example查询selectCountByExample(org.apache.ibatis.mapping.MappedStatement ms) 根据Example查询总数selectOneByExample(org.apache.ibatis.mapping.MappedStatement ms) 根据Example查询一个结果updateByExample(org.apache.ibatis.mapping.MappedStatement ms) 根据Example更新updateByExampleSelective(org.apache.ibatis.mapping.MappedStatement ms) 根据Example更新非null字段Methods inherited from class tk.mybatis.mapper.mapperhelper.MapperTemplate
addMethodMap, createSqlSource, dynamicSQL, getConfig, getEntityClass, getIDENTITY, getIDENTITY, isBEFORE, isCheckExampleEntityClass, isNotEmpty, setResultType, setSqlSource, setSqlSource, supportMethod, tableName
-
Constructor Details
-
ExampleProvider
-
-
Method Details
-
selectCountByExample
根据Example查询总数- Parameters:
ms-- Returns:
-
deleteByExample
根据Example删除- Parameters:
ms-- Returns:
-
selectByExample
根据Example查询- Parameters:
ms-- Returns:
-
selectByExampleAndRowBounds
根据Example查询- Parameters:
ms-- Returns:
-
updateByExampleSelective
根据Example更新非null字段- Parameters:
ms-- Returns:
-
updateByExample
根据Example更新- Parameters:
ms-- Returns:
-
selectOneByExample
根据Example查询一个结果- Parameters:
ms-- Returns:
-