As follow, the dao.java passes one parameter, i.e., the entity:
public List findList(T entity);
and the dao.xml is as follows: