소스 검색

Merge branch 'master' of https://e.coding.net/chuanghaikeji/jinganxiangsu/Homestay_app_houtai

lijie 2 년 전
부모
커밋
f3172a67dc
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      mhotel/src/com/happy/dao/impl/BookingCommentImplDao.java

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

@@ -698,7 +698,7 @@ public class BookingCommentImplDao implements BookingCommentDao {
                 "WHERE\n" +
                 "\tu.id = :usersId \n" +
                 "\tAND b.order_status = 5 \n" +
-                "\tAND b.status_del =1  ORDER BY b.order_start_time DESC LIMIT :start,:rows";
+                "\tAND b.status_del =1  ORDER BY bc.create_date DESC LIMIT :start,:rows";
         MapSqlParameterSource sps = new MapSqlParameterSource();
         sps.addValue("start", start);
         sps.addValue("rows", rows);
@@ -750,7 +750,7 @@ public class BookingCommentImplDao implements BookingCommentDao {
                 "WHERE\n" +
                 "\tu.id = :usersId \n" +
                 "\tAND b.order_status = 5 \n" +
-                "\tAND b.status_del =1  ORDER BY b.order_start_time DESC LIMIT :start,:rows";
+                "\tAND b.status_del =1  ORDER BY bc.create_date DESC LIMIT :start,:rows";
         MapSqlParameterSource sps = new MapSqlParameterSource();
         sps.addValue("start", start);
         sps.addValue("rows", rows);