package org.yeshi.utils.mybatis;
|
|
/**
|
* @author Administrator
|
* @title: BaseMapper
|
* @projectName utils
|
* @description: 基础Mapper
|
* @date 2021/10/1315:02
|
*/
|
public interface BaseMapper<T> {
|
|
int deleteByPrimaryKey(Long id);
|
|
int insert(T record);
|
|
int insertSelective(T record);
|
|
T selectByPrimaryKey(Long id);
|
|
int updateByPrimaryKeySelective(T record);
|
|
int updateByPrimaryKey(T record);
|
}
|