/**
   * @throws Exception
   * @see TopTenDAOImpl#getTopTen_T_List(String,String)
   */
  public void testGetTopTen_T_List() throws Exception {
    String teacher_type = "1";
    String is_display = "1";
    DAO = TopTenDAOFactory.getDAO();

    List result = DAO.getTopTen_T_List(teacher_type, is_display);

    if (result != null) {
      System.out.println("size =====================" + result.size());
    }
  }
  public void testAddTopTen() throws Exception {
    DAO = TopTenDAOFactory.getDAO();

    TopTenForm ttm = new TopTenForm();
    ttm.setCreattime(new Date());
    ttm.setDuty("公共课1");
    ttm.setName("商务英语1");
    ttm.setType("1");
    ttm.setC_t("林星43");
    ttm.setGrade(4);
    ttm.setIs_display("1");
    DAO.addTopTen(ttm);
  }