admin
2021-03-13 7becc97c5bfdd827b9a999c26746bb8e8bc3e25c
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);
    }
 
}