摘要:
public interface GenericDao {void create(T entity);void delete(T entity);void update(T entity);T findById(Serializable oid);List findAll();PageModel findByPager(int pageNo, int pageSize);}public class GenericDaoImpl implements GenericDao {private Class entityClass;private String entityName;@Suppress 阅读全文