举个例子
以Dao接口的each方法为例
Dao dao = ioc.get(Dao.class); dao.each(User.class, Cnd.where("sex", "=", "female"), (index, ele, count) -> { System.out.println(Json.toJson(ele)); });