//package com.project.common.mapper;
|
//
|
//import java.io.Serializable;
|
//
|
///**
|
// * @description: 公共基础Mapper
|
// * @author: liujun
|
// * @create: 2019-08-02 11:11
|
// **/
|
//public interface BaseMapper<T,ID extends Serializable> {
|
// /**
|
// * 根据主键id删除
|
// * @param id
|
// * @return
|
// */
|
// int deleteByPrimaryKey(ID id);
|
//
|
// /**
|
// * 插入全部
|
// * @param t
|
// * @return
|
// */
|
// int insert(T t);
|
//
|
// /**
|
// * 插入非空
|
// * @param t
|
// * @return
|
// */
|
// int insertSelective(T t);
|
//
|
// /**
|
// * 根据主键id,查询
|
// * @param id
|
// * @return
|
// */
|
// T selectByPrimaryKey(ID id);
|
//
|
// /**
|
// * 更新非空
|
// * @param t
|
// * @return
|
// */
|
// int updateByPrimaryKeySelective(T t);
|
//
|
// /**
|
// * 更新全部
|
// * @param t
|
// * @return
|
// */
|
// int updateByPrimaryKey(T t);
|
//}
|