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