类 ExampleProvider


  • public class ExampleProvider
    extends tk.mybatis.mapper.mapperhelper.MapperTemplate
    ExampleProvider实现类,基础方法实现类
    作者:
    liuzh
    • 构造器详细资料

      • 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 -
        返回: