package com.goafanti.comment.service;

import com.goafanti.comment.bo.CommentDetailResult;
import com.goafanti.comment.bo.CommentInput;
import com.goafanti.core.mybatis.page.Pagination;

public interface CommentService {
	int addNewComment(CommentInput commentInput,String ip);
	
	Integer getCommentCount(Integer type,String commodityId); 
	
	Pagination<CommentDetailResult> searchComment(String commodityId,Integer pageNo,Integer pageSize);

	Pagination<CommentDetailResult> selectExpertsComment(String id,Integer pageNo,Integer pageSize);
	
	Pagination<CommentDetailResult> searchUnlandedCommentList(String commodityId,Integer pageNo,Integer pageSize);

}
