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