You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
578 B
18 lines
578 B
package com.service;
|
|
|
|
import java.util.List;
|
|
|
|
import com.entity.Comment;
|
|
import com.github.pagehelper.PageInfo;
|
|
|
|
public interface ICommentService {
|
|
Comment findCommentById(long comment_id);
|
|
Integer addComemnt(Comment comment);
|
|
Integer updateComment(Comment comment);
|
|
Integer deleteComment(long comment_id);
|
|
List<Comment> findAllComments();
|
|
List<Comment> findCommentsByMovieId(long movie_id);
|
|
PageInfo<Comment> findAllCommentsBySplitPage(Integer page,Integer limit,String keyword);
|
|
PageInfo<Comment> findCommentsByUserName(Integer page,Integer limit,String user_name);
|
|
}
|