接口 BaseMapper<T,​E,​PK extends Serializable>


  • public interface BaseMapper<T,​E,​PK extends Serializable>
    • 方法详细资料

      • insert

        void insert​(T t)
      • insertSelective

        int insertSelective​(T record)
      • insertList

        void insertList​(List<T> list)
      • deleteByPrimaryKey

        int deleteByPrimaryKey​(PK pk)
      • deleteByExample

        int deleteByExample​(E example)
      • countByExample

        long countByExample​(E example)
      • selectByPrimaryKey

        T selectByPrimaryKey​(PK pk)
      • selectByExample

        List<T> selectByExample​(E example)
      • selectAll

        List<T> selectAll()
      • updateByPrimaryKey

        int updateByPrimaryKey​(T record)
      • updateByPrimaryKeySelective

        int updateByPrimaryKeySelective​(T record)
      • updateByExample

        int updateByExample​(@Param("record")
                            T record,
                            @Param("example")
                            E example)
      • updateByExampleSelective

        int updateByExampleSelective​(@Param("record")
                                     T record,
                                     @Param("example")
                                     E example)