// 通过id查询
 @Test
 public void testGetbyid() {
   System.out.println("************************" + cityNumberDaoImpl);
   city = cityNumberDaoImpl.getById(2);
   if (city != null) {
     System.out.println(city.getCity());
   } else {
     System.out.println("测试失败");
   }
 }
 // 修改
 @Test
 public void testupdate() {
   city = cityNumberDaoImpl.getById(279);
   city.setUsable(0);
   if (city != null) {
     cityNumberDaoImpl.update(city);
   } else {
     System.out.println("测试失败");
   }
 }