BookingCommentDao.java 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. package com.happy.dao;
  2. import com.happy.Model.BookingComment;
  3. import com.happy.vo.*;
  4. import java.util.List;
  5. public interface BookingCommentDao {
  6. String insertBookingComment(BookingComment bookingComment);
  7. List<BookingComment> queryPage(String sqlx, int page, int rows);
  8. int queryTotal(String sqlx);
  9. List<BookingComment> getByBookId(String bookId);
  10. List<BookingComment> getByParentId(String parentId);
  11. List<BookingComment> getByCommentId(String commentId);
  12. int insterCommpent(BookingComment bookingComment);
  13. int updateCommpentStatus(BookingComment bookingComment);
  14. BookingComment queryById(String id);
  15. int update(BookingComment bookingComment);
  16. List<BookingCommentPageVo> evaluatePage(String hotelId, int page, int rows);
  17. int evaluateTotal(String hotelId);
  18. List<BookingCommentPageVo> evaluatePagepicture(String hotelId, int page, int rows);
  19. int evaluateTotalpicture(String hotelId);
  20. List<BookingCommentPageVo> evaluatePageComment(String hotelId, int page, int rows);
  21. int evaluateTotalComment(String hotelId);
  22. EvaluatePageVo evaluateScore(String hotelId);
  23. List<CommentVo> commentVoList(String bookingCommentId);
  24. CommentDetailsVo commentDetails(String bookingCommentId);
  25. List<PersonageCommentVo> personageNotCommentPage(String usersId, int page, int rows);
  26. List<PersonageCommentVo> personageCommentPage(String usersId, int page, int rows);
  27. int personageNotCommentTotal(String usersId);
  28. int personageCommentTotal(String usersId);
  29. PersonageDetailsVo personageDetails(String bookingCommentId);
  30. BookingComment getBycommentId(String commentId);
  31. }