@Test public void testGetTopicNum(){ int topicNum = forumDao.getTopicNum(1); System.out.println("topicNum:"+topicNum); }
public int getTopicNum(int userId){ return getTopicNum.getTopicNum(userId); }
ForumOODao { public int getTopicNum(int userId){ return getTopicNum.getTopicNum(userId); } }
ForumOODao { public int getTopicNum(int userId){ return getTopicNum.getTopicNum(userId); }  }
ForumOODao { public int getTopicNum(int userId){ return getTopicNum.getTopicNum(userId); }  @Autowired void setDataSource(DataSource dataSource); @PostConstruct void init(); Forum getForum(int forumId); void addForum(Forum forum); int getTopicNum(int userId); int getForumNum(); }
ForumOODao { public int getTopicNum(int userId){ return getTopicNum.getTopicNum(userId); }  @Autowired void setDataSource(DataSource dataSource); @PostConstruct void init(); Forum getForum(int forumId); void addForum(Forum forum); int getTopicNum(int userId); int getForumNum();  }