admin
2021-03-25 9438097857e16f4929924d0d349c346d36b5f947
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.hxh.spring.test;
 
import java.util.List;
 
import com.yeshi.buwan.domain.Comment2;
import com.yeshi.buwan.service.imp.CommentService;
import com.yeshi.buwan.util.BeanUtil;
 
public class CommentTest {
 
    @org.junit.Test
    public void test1() {
        CommentService commentService = BeanUtil.getBean(CommentService.class);
        String key = "妈的";
        List<Comment2> list = commentService.getCommentList(key, 1);
        long count = commentService.getCommentCount(key);
        System.out.println(list);
    }
 
}