package com.cxs.dao;
import java.util.List;
/**
* @Project: jdbc-ext-demo
* @Author: cxs2014501@163.com
* @Description:
**/
public interface BaseDao <T>{
/**
* 新增
* @param t
* @return
*/
int insert(T t);
/**
* 查询所有
* @return
*/
List<T> selectAll();
/**
* 修改
* @param t
* @return
*/
int updateById(T t);
/**
* 动态修改
* @param t
* @return
*/
int updateSelectiveById(T t);
/**
* 根据id删除
* @param id
* @return
*/
int deleteById(Object id);
/**
* 根据id查询
* @param id
* @return
*/
T selectById(Object id);
}
最近浏览更多
pxqtsht LV16
2月21日
szy20001006 LV2
2023年6月16日
ericxu1116 LV24
2023年6月14日
wuge123 LV8
2023年6月12日
天士大夫 LV2
2023年5月25日
yzshabzbbdvw LV4
2023年4月15日
做你的景天 LV7
2023年4月12日
黑 LV7
2023年3月29日
a20090421166 LV2
2023年3月28日
微信网友_6398458437226496 LV5
2023年3月27日

最近下载
