BookingCommentService.java 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. package com.happy.service;
  2. import com.happy.Model.BookingComment;
  3. import com.happy.Model.FileInfo;
  4. import com.happy.dto.IPage;
  5. import com.happy.vo.EvaluatePageVo;
  6. import com.happy.Model.HotelCoupon;
  7. import com.happy.dto.BookCommentDto;
  8. import com.happy.dto.IPage;
  9. import java.util.List;
  10. public interface BookingCommentService {
  11. int orderRate( BookingComment bookingComment,List<String> pictureList);
  12. IPage evaluatePage(int status,String hotelId, int page, int rows);
  13. int replyComment(BookingComment bookingComment);
  14. EvaluatePageVo evaluateScore(String hotelId);
  15. /**
  16. * 描述:查询订单下的所有评论 根据订单id与comment_parent_id为空查询
  17. * @param bookId 订单Id
  18. * @return 返回订单下所有最大级的评价
  19. */
  20. BookCommentDto getById(String bookId);
  21. /**
  22. * 分页查询
  23. * @return 返回所有
  24. */
  25. IPage<BookingComment> queryPage(String sqlx,String sql, int page, int rows);
  26. /**
  27. * 评价列表详情
  28. * @param id 订单id
  29. * @return 订单和房型
  30. */
  31. BookCommentDto getByBookingId(Integer id);
  32. /**
  33. * 回复弹窗 保存同时并修改当前回复信息状态为已回复
  34. * @param bookingComment 回复内容
  35. * @return 影响数量
  36. */
  37. int insterCommpent(BookingComment bookingComment);
  38. }