//创建查询条件数据对象
Customer customer = new Customer();
customer.setAddress("河南省郑州市");
customer.setFocus(true);
//创建实例
Example<Customer> ex = Example.of(customer);
//查询
List<Customer> ls = dao.findAll(ex);
//输出结果
System.out.println("数量:"+ls.size());
for (Customer bo:ls)
{
System.out.println(bo.getName());
}