Browse Source

修改未评价订单缺少酒店id和房间号id

liu 2 years ago
parent
commit
2c91402619
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mhotel/src/com/happy/dao/impl/BookingCommentImplDao.java

+ 1 - 1
mhotel/src/com/happy/dao/impl/BookingCommentImplDao.java

@@ -511,7 +511,7 @@ public class BookingCommentImplDao implements BookingCommentDao {
         int start = (page - 1) * rows;// ÿҳµÄÆðʼÏÂ
         int start = (page - 1) * rows;// ÿҳµÄÆðʼÏÂ
         String sql = "SELECT\n" +
         String sql = "SELECT\n" +
                 "\tb.id AS id,\n" +
                 "\tb.id AS id,\n" +
-                "\tbc.id as bookingCommentId,\n" +
+                "\tbc.id as bookingCommentId ,b.hotel_id as hotelId,b.house_id as houseId,\n" +
                 "\tb.hotel_name AS hotelName,\n" +
                 "\tb.hotel_name AS hotelName,\n" +
                 "\tb.house_order_number AS houseOrderNumber,\n" +
                 "\tb.house_order_number AS houseOrderNumber,\n" +
                 "\tb.house_name AS houseName ,\n" +
                 "\tb.house_name AS houseName ,\n" +