@Test public void testGetWordss() { List<Words> list = wordsDao.getWordss(); for (Words words : list) { System.out.println(words.getName()); } }
@Test public void testGetPerson() { Words words = wordsDao.getWords(1); System.out.println(words.getName()); }
@Test public void testUpdate() { Words words = wordsDao.getWords(1); words.setName("小丽"); wordsDao.update(words); }