类 ExampleProvider
- java.lang.Object
-
- tk.mybatis.mapper.mapperhelper.MapperTemplate
-
- tk.mybatis.mapper.provider.ExampleProvider
-
public class ExampleProvider extends tk.mybatis.mapper.mapperhelper.MapperTemplateExampleProvider实现类,基础方法实现类- 作者:
- liuzh
-
-
构造器概要
构造器 构造器 说明 ExampleProvider(Class<?> mapperClass, tk.mybatis.mapper.mapperhelper.MapperHelper mapperHelper)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringdeleteByExample(org.apache.ibatis.mapping.MappedStatement ms)根据Example删除StringselectByExample(org.apache.ibatis.mapping.MappedStatement ms)根据Example查询StringselectByExampleAndRowBounds(org.apache.ibatis.mapping.MappedStatement ms)根据Example查询StringselectCountByExample(org.apache.ibatis.mapping.MappedStatement ms)根据Example查询总数StringselectOneByExample(org.apache.ibatis.mapping.MappedStatement ms)根据Example查询一个结果StringupdateByExample(org.apache.ibatis.mapping.MappedStatement ms)根据Example更新StringupdateByExampleSelective(org.apache.ibatis.mapping.MappedStatement ms)根据Example更新非null字段
-
-
-
构造器详细资料
-
ExampleProvider
public ExampleProvider(Class<?> mapperClass, tk.mybatis.mapper.mapperhelper.MapperHelper mapperHelper)
-
-
方法详细资料
-
selectCountByExample
public String selectCountByExample(org.apache.ibatis.mapping.MappedStatement ms)
根据Example查询总数- 参数:
ms-- 返回:
-
deleteByExample
public String deleteByExample(org.apache.ibatis.mapping.MappedStatement ms)
根据Example删除- 参数:
ms-- 返回:
-
selectByExample
public String selectByExample(org.apache.ibatis.mapping.MappedStatement ms)
根据Example查询- 参数:
ms-- 返回:
-
selectByExampleAndRowBounds
public String selectByExampleAndRowBounds(org.apache.ibatis.mapping.MappedStatement ms)
根据Example查询- 参数:
ms-- 返回:
-
updateByExampleSelective
public String updateByExampleSelective(org.apache.ibatis.mapping.MappedStatement ms)
根据Example更新非null字段- 参数:
ms-- 返回:
-
updateByExample
public String updateByExample(org.apache.ibatis.mapping.MappedStatement ms)
根据Example更新- 参数:
ms-- 返回:
-
selectOneByExample
public String selectOneByExample(org.apache.ibatis.mapping.MappedStatement ms)
根据Example查询一个结果- 参数:
ms-- 返回:
-
-