Explorar o código

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

liu %!s(int64=3) %!d(string=hai) anos
pai
achega
2c91402619
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;// ÿҳµÄÆðʼÏÂ
         String sql = "SELECT\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.house_order_number AS houseOrderNumber,\n" +
                 "\tb.house_name AS houseName ,\n" +