接口 BaseMapper<T>

  • 类型参数:
    T - 不能为空
    所有超级接口:
    tk.mybatis.mapper.common.base.BaseDeleteMapper<T>, tk.mybatis.mapper.common.base.BaseSelectMapper<T>, tk.mybatis.mapper.common.base.BaseUpdateMapper<T>, CustomInsertSelectiveMapper<T>, tk.mybatis.mapper.common.base.delete.DeleteByPrimaryKeyMapper<T>, tk.mybatis.mapper.common.base.delete.DeleteMapper<T>, tk.mybatis.mapper.common.base.select.ExistsWithPrimaryKeyMapper<T>, tk.mybatis.mapper.common.sqlserver.InsertMapper<T>, tk.mybatis.mapper.common.sqlserver.InsertSelectiveMapper<T>, tk.mybatis.mapper.common.base.select.SelectAllMapper<T>, tk.mybatis.mapper.common.base.select.SelectByPrimaryKeyMapper<T>, tk.mybatis.mapper.common.base.select.SelectCountMapper<T>, tk.mybatis.mapper.common.base.select.SelectMapper<T>, tk.mybatis.mapper.common.base.select.SelectOneMapper<T>, tk.mybatis.mapper.common.SqlServerMapper<T>, tk.mybatis.mapper.common.base.update.UpdateByPrimaryKeyMapper<T>, tk.mybatis.mapper.common.base.update.UpdateByPrimaryKeySelectiveMapper<T>

    public interface BaseMapper<T>
    extends tk.mybatis.mapper.common.base.BaseSelectMapper<T>, tk.mybatis.mapper.common.SqlServerMapper<T>, tk.mybatis.mapper.common.base.BaseUpdateMapper<T>, tk.mybatis.mapper.common.base.BaseDeleteMapper<T>, CustomInsertSelectiveMapper<T>

    通用Mapper接口,其他接口继承该接口即可

    这是一个例子,自己扩展时可以参考

    项目地址 : https://github.com/abel533/Mapper

    作者:
    liuzh
    • 方法概要

      • 从接口继承的方法 tk.mybatis.mapper.common.base.delete.DeleteByPrimaryKeyMapper

        deleteByPrimaryKey
      • 从接口继承的方法 tk.mybatis.mapper.common.base.delete.DeleteMapper

        delete
      • 从接口继承的方法 tk.mybatis.mapper.common.base.select.ExistsWithPrimaryKeyMapper

        existsWithPrimaryKey
      • 从接口继承的方法 tk.mybatis.mapper.common.sqlserver.InsertMapper

        insert
      • 从接口继承的方法 tk.mybatis.mapper.common.sqlserver.InsertSelectiveMapper

        insertSelective
      • 从接口继承的方法 tk.mybatis.mapper.common.base.select.SelectAllMapper

        selectAll
      • 从接口继承的方法 tk.mybatis.mapper.common.base.select.SelectByPrimaryKeyMapper

        selectByPrimaryKey
      • 从接口继承的方法 tk.mybatis.mapper.common.base.select.SelectCountMapper

        selectCount
      • 从接口继承的方法 tk.mybatis.mapper.common.base.select.SelectMapper

        select
      • 从接口继承的方法 tk.mybatis.mapper.common.base.select.SelectOneMapper

        selectOne
      • 从接口继承的方法 tk.mybatis.mapper.common.base.update.UpdateByPrimaryKeyMapper

        updateByPrimaryKey
      • 从接口继承的方法 tk.mybatis.mapper.common.base.update.UpdateByPrimaryKeySelectiveMapper

        updateByPrimaryKeySelective