
top.zeimao77.product.sql.Repository Maven / Gradle / Ivy
package top.zeimao77.product.sql;
import java.util.List;
/**
* dao接口 提供普适的单行新增、修改、删除、查询功能
* @param 执行化对象
* @param 主键
* @author zeimao77
* @since 2.1.1
*/
public interface Repository {
int insert(T t);
int delete(W id);
int update(T t);
T get(W id);
List list(SelectCond selectCond);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy