コード例 #1
0
 // 通过地址模糊查询
 @Test
 public void testByAddress() {
   FindCompany find = new FindCompanyServices();
   List<Company> list = find.FindCompanyByaddress("珠峰大街");
   if (list != null) {
     for (int i = 0; i < list.size(); i++) {
       System.out.println(list.get(i).getId());
       System.out.println(list.get(i).getCompanyName());
       System.out.println(list.get(i).getUsable());
       System.out.println(list.get(i).getPos());
     }
   } else {
     System.out.println("查找失败");
   }
 }